├── .eslintignore ├── .eslintrc ├── .gitignore ├── LICENSE ├── README.md ├── data ├── citiesminified.json ├── countriesminified.json ├── languagesminified.json ├── regionsminified.json └── statesminified.json ├── example ├── .gitignore ├── README.md ├── package-lock.json ├── package.json └── src │ ├── App.tsx │ ├── app.css │ ├── example1.png │ ├── example2.png │ ├── example3.png │ ├── example4.png │ ├── example5.png │ ├── example6.png │ ├── example7.png │ ├── index.html │ └── index.tsx ├── global.d.ts ├── jestconfig.json ├── package.json ├── prettierrc.json ├── rollup.config.js ├── src ├── components │ ├── CitySelect.tsx │ ├── CountrySelect.tsx │ ├── Dropdown.tsx │ ├── LanguageDropdown.tsx │ ├── LanguageSelect.tsx │ ├── PhonecodeDropdown.tsx │ ├── PhonecodeSelect.tsx │ ├── RegionSelect.tsx │ └── StateSelect.tsx ├── index.d.ts ├── index.ts ├── styles │ ├── fonts │ │ └── TwemojiMozilla.ttf │ └── style.scss ├── types │ └── index.ts └── utils │ └── index.ts ├── tests ├── __snapshots__ │ └── common.test.tsx.snap └── common.test.tsx └── tsconfig.json /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | rollup.config.js 4 | global.d.ts -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/README.md -------------------------------------------------------------------------------- /data/citiesminified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/data/citiesminified.json -------------------------------------------------------------------------------- /data/countriesminified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/data/countriesminified.json -------------------------------------------------------------------------------- /data/languagesminified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/data/languagesminified.json -------------------------------------------------------------------------------- /data/regionsminified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/data/regionsminified.json -------------------------------------------------------------------------------- /data/statesminified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/data/statesminified.json -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/README.md -------------------------------------------------------------------------------- /example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/package-lock.json -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/package.json -------------------------------------------------------------------------------- /example/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/App.tsx -------------------------------------------------------------------------------- /example/src/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/app.css -------------------------------------------------------------------------------- /example/src/example1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/example1.png -------------------------------------------------------------------------------- /example/src/example2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/example2.png -------------------------------------------------------------------------------- /example/src/example3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/example3.png -------------------------------------------------------------------------------- /example/src/example4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/example4.png -------------------------------------------------------------------------------- /example/src/example5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/example5.png -------------------------------------------------------------------------------- /example/src/example6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/example6.png -------------------------------------------------------------------------------- /example/src/example7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/example7.png -------------------------------------------------------------------------------- /example/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/index.html -------------------------------------------------------------------------------- /example/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/example/src/index.tsx -------------------------------------------------------------------------------- /global.d.ts: -------------------------------------------------------------------------------- 1 | declare module "*.scss"; -------------------------------------------------------------------------------- /jestconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/jestconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/package.json -------------------------------------------------------------------------------- /prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/prettierrc.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/components/CitySelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/components/CitySelect.tsx -------------------------------------------------------------------------------- /src/components/CountrySelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/components/CountrySelect.tsx -------------------------------------------------------------------------------- /src/components/Dropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/components/Dropdown.tsx -------------------------------------------------------------------------------- /src/components/LanguageDropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/components/LanguageDropdown.tsx -------------------------------------------------------------------------------- /src/components/LanguageSelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/components/LanguageSelect.tsx -------------------------------------------------------------------------------- /src/components/PhonecodeDropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/components/PhonecodeDropdown.tsx -------------------------------------------------------------------------------- /src/components/PhonecodeSelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/components/PhonecodeSelect.tsx -------------------------------------------------------------------------------- /src/components/RegionSelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/components/RegionSelect.tsx -------------------------------------------------------------------------------- /src/components/StateSelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/components/StateSelect.tsx -------------------------------------------------------------------------------- /src/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/index.d.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/styles/fonts/TwemojiMozilla.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/styles/fonts/TwemojiMozilla.ttf -------------------------------------------------------------------------------- /src/styles/style.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/styles/style.scss -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /tests/__snapshots__/common.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/tests/__snapshots__/common.test.tsx.snap -------------------------------------------------------------------------------- /tests/common.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/tests/common.test.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/venkatmcajj/react-country-state-city/HEAD/tsconfig.json --------------------------------------------------------------------------------