{"_id":"@abhisek_goldy/react-address-picker","_rev":"4-32405f3dd049bf9572807ed6fc89c05f","name":"@abhisek_goldy/react-address-picker","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@abhisek_goldy/react-address-picker","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@abhisek_goldy/react-address-picker@1.0.0","maintainers":[{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"}],"dist":{"shasum":"871d73fa3dc1aa75bb32397841e03c1550280659","tarball":"https://registry.npmjs.org/@abhisek_goldy/react-address-picker/-/react-address-picker-1.0.0.tgz","fileCount":13,"integrity":"sha512-R6xttsTgthQU+XwSqXmDsw2NSxR4XNEnv+OMN+qBGIP+dxMgAgh7XD53Vc2CTHmOjv07ItBwt8l524wICDjxiQ==","signatures":[{"sig":"MEYCIQD23J0fFm+E1ma+hSiOD5t64YwXQlBg+juwQfVvWKnyLwIhAIhdD4tD1dCeObHCyUeF2adtCqYwyHSREdYdsAu/NbUQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6028107},"main":"dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack --mode production"},"_npmUser":{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/react-address-picker.svg)](https://www.npmjs.com/package/react-address-picker) [![downloads](https://img.shields.io/npm/dm/react-address-picker.svg)](https://www.npmjs.com/package/react-address-picker) [![licen","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.96.1","@babel/core":"^7.26.0","webpack-cli":"^5.1.4","babel-loader":"^9.2.1","@babel/preset-env":"^7.26.0","@babel/preset-react":"^7.25.9"},"_npmOperationalInternal":{"tmp":"tmp/react-address-picker_1.0.0_1732002850728_0.9121518407276985","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@abhisek_goldy/react-address-picker","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@abhisek_goldy/react-address-picker@1.0.1","maintainers":[{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"}],"dist":{"shasum":"bf6998ed0255e7a28526471964532e215f160dbb","tarball":"https://registry.npmjs.org/@abhisek_goldy/react-address-picker/-/react-address-picker-1.0.1.tgz","fileCount":13,"integrity":"sha512-+JZbMQ1R3AtIkDvX6PHaFnu4Ok7l4E54H30ZEDoF6zq8QSwFJ36VcioLUMEHLXwhNgt+RHk1x+ZPaOKtzl13Aw==","signatures":[{"sig":"MEUCIA3oYXWdGreo/hAv0WpvIZPiNsEPtSqId/PVpIYfPARCAiEAidZ1a4jBcgjzQxZIo5HEXqJGw+N9PAVMYohp/u4EZls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6028151},"main":"dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack --mode production"},"_npmUser":{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/react-address-picker.svg)](https://www.npmjs.com/package/react-address-picker) [![downloads](https://img.shields.io/npm/dm/react-address-picker.svg)](https://www.npmjs.com/package/react-address-picker) [![licen","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.96.1","@babel/core":"^7.26.0","webpack-cli":"^5.1.4","babel-loader":"^9.2.1","@babel/preset-env":"^7.26.0","@babel/preset-react":"^7.25.9"},"_npmOperationalInternal":{"tmp":"tmp/react-address-picker_1.0.1_1732005104424_0.4727887130882966","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@abhisek_goldy/react-address-picker","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@abhisek_goldy/react-address-picker@1.0.2","maintainers":[{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"}],"dist":{"shasum":"3f920af7cd89e044e5d544be1fae096a5d3b4513","tarball":"https://registry.npmjs.org/@abhisek_goldy/react-address-picker/-/react-address-picker-1.0.2.tgz","fileCount":13,"integrity":"sha512-kDB6xIGI0HaLTjFv4t5zX8EB1DJdV2kOzNvEa+Yu3og302a1Wtf9QL1TeK/nzC/YlbOm2pjA0fVXvW5ij/p2hg==","signatures":[{"sig":"MEYCIQC6JCRZYbqY/ZMi8YN8I4dr+YV4MdcOSjVB/yLDrF7LHQIhAI48RqnthGTR+ktbwDA6pAHLrQwXx8ywzlKk2WHzL1nJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6028411},"main":"dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack --mode production"},"_npmUser":{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"},"_npmVersion":"10.7.0","description":"[![npm version](https://img.shields.io/npm/v/react-address-picker.svg)](https://www.npmjs.com/package/react-address-picker) [![downloads](https://img.shields.io/npm/dm/react-address-picker.svg)](https://www.npmjs.com/package/react-address-picker) [![licen","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.96.1","@babel/core":"^7.26.0","webpack-cli":"^5.1.4","babel-loader":"^9.2.1","@babel/preset-env":"^7.26.0","@babel/preset-react":"^7.25.9"},"_npmOperationalInternal":{"tmp":"tmp/react-address-picker_1.0.2_1732005310108_0.9047451893601124","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@abhisek_goldy/react-address-picker","version":"1.0.3","keywords":["react-address-picker","address-picker","react","country-picker","state-picker","city-picker","react-country-selector","react-state-selector","react-city-selector","react-form","address-dropdown","location-picker","address-selector","location-dropdown","react-dropdown"],"author":{"name":"Abhisek Goldy"},"license":"MIT","_id":"@abhisek_goldy/react-address-picker@1.0.3","maintainers":[{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"}],"dist":{"shasum":"9a9c80cfa441244b9c2eec55c147e9243ea686a8","tarball":"https://registry.npmjs.org/@abhisek_goldy/react-address-picker/-/react-address-picker-1.0.3.tgz","fileCount":13,"integrity":"sha512-lrNJKXxX0rBi5xuUqHBDqGOPKPnEJcKUdhTG/OitALPm75LMBR8okiNWBHgYRoni5IcgRoireJUk6rvgsS491g==","signatures":[{"sig":"MEUCICdS2nCPDXuJ6IcCO7deuyc7hYo+tpNQ9BlVI0zeL9e+AiEAhJW6eW313Q7QdDaoVKXOtqd1BzoM6RGLFteTZN8YhU4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6028746},"main":"dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack --mode production"},"_npmUser":{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"},"_npmVersion":"10.7.0","description":"A simple and customizable address picker component for React.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.96.1","@babel/core":"^7.26.0","webpack-cli":"^5.1.4","babel-loader":"^9.2.1","@babel/preset-env":"^7.26.0","@babel/preset-react":"^7.25.9"},"_npmOperationalInternal":{"tmp":"tmp/react-address-picker_1.0.3_1732005696476_0.8145619769812988","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@abhisek_goldy/react-address-picker","version":"1.0.4","main":"dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack --mode production"},"repository":{"type":"git","url":"git+https://github.com/abhisekgoldy/react-address-picker.git"},"keywords":["react-address-picker","address-picker","react","country-picker","state-picker","city-picker","react-country-selector","react-state-selector","react-city-selector","react-form","address-dropdown","location-picker","address-selector","location-dropdown","react-dropdown"],"author":{"name":"Abhisek Goldy"},"license":"MIT","description":"A simple and customizable address picker component for React.","devDependencies":{"@babel/core":"^7.26.0","@babel/preset-env":"^7.26.0","@babel/preset-react":"^7.25.9","babel-loader":"^9.2.1","webpack":"^5.96.1","webpack-cli":"^5.1.4"},"_id":"@abhisek_goldy/react-address-picker@1.0.4","gitHead":"4bb8ea51dfa651ea0b6d942d4a8c550cf6feef2e","bugs":{"url":"https://github.com/abhisekgoldy/react-address-picker/issues"},"homepage":"https://github.com/abhisekgoldy/react-address-picker#readme","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-g/qnVmKNlNOiuqzUnojJPbJmO5ZlINSSmGbabGMXL+xCs73R5WZtoOjeZMhESKn/8w0z6kGwehXfCbgNiGzkhA==","shasum":"90b71ea981d976c4a3dcbadc65a2d03289fd27a6","tarball":"https://registry.npmjs.org/@abhisek_goldy/react-address-picker/-/react-address-picker-1.0.4.tgz","fileCount":13,"unpackedSize":6028858,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAF8MtIjYgN5AhpjJHPiri3t3m3+xlI6igtgy9J+KYnZAiBsnmJKrcbzKoFSYqcef77Ej5bQpPCzyNOt/M2vOkUlOw=="}]},"_npmUser":{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"},"directories":{},"maintainers":[{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-address-picker_1.0.4_1732006439112_0.03103867058250831"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-19T07:54:10.645Z","modified":"2024-11-19T08:53:59.575Z","1.0.0":"2024-11-19T07:54:10.935Z","1.0.1":"2024-11-19T08:31:44.680Z","1.0.2":"2024-11-19T08:35:10.390Z","1.0.3":"2024-11-19T08:41:36.722Z","1.0.4":"2024-11-19T08:53:59.372Z"},"author":{"name":"Abhisek Goldy"},"license":"MIT","keywords":["react-address-picker","address-picker","react","country-picker","state-picker","city-picker","react-country-selector","react-state-selector","react-city-selector","react-form","address-dropdown","location-picker","address-selector","location-dropdown","react-dropdown"],"description":"A simple and customizable address picker component for React.","maintainers":[{"name":"abhisekgoldy","email":"abhisekgoldy14@gmail.com"}],"readme":"# @abhisek_goldy/react-address-picker 🚀\n\n[![npm version](https://img.shields.io/npm/v/@abhisek_goldy/react-address-picker.svg)](https://www.npmjs.com/package/@abhisek_goldy/react-address-picker)\n[![downloads](https://img.shields.io/npm/dm/@abhisek_goldy/react-address-picker.svg)](https://www.npmjs.com/package/@abhisek_goldy/react-address-picker)\n[![license](https://img.shields.io/npm/l/@abhisek_goldy/react-address-picker.svg)](https://www.npmjs.com/package/@abhisek_goldy/react-address-picker)\n\nReact Library for Country, State, City and Phone code\n\n## Installation 📦\n\nTo install this package, run:\n\n```\nnpm install @abhisek_goldy/react-address-picker\n```\nor with yarn:\n\n```\nyarn add @abhisek_goldy/react-address-picker\n```\n\n## Usage 💡\n\nHere's how you can use this package:\n\n### Example Country\n\n```\nimport AddressPicker from \"react-address-picker\";\n\n<AddressPicker\n    type=\"country\" //required\n    placeholder=\"Search for a Country...\" //optional\n    value=\"India\" //optional\n    onChange={(obj) => console.log(obj?.id)} //optional\n/>\n```\n\n### Example State\n\n```\n<AddressPicker\n    type=\"state\" //required\n    placeholder=\"Search for a State...\" //optional\n    onChange={(obj)=> console.log(obj?.id)} //optional\n/>\n```\n\n### Example City\n\n```\n<AddressPicker\n    type=\"city\"\n    placeholder=\"Search for a State...\" //optional\n    onChange={(obj)=> console.log(obj?.id)} //optional\n/>\n```\n\n### Example Phone code\n```\n<AddressPicker\n    type=\"code\"\n    placeholder=\"Search for a Phone code...\" //optional\n    onChange={(obj) => console.log(obj)}\n/>\n```\n\n\n## Props 🛠️\n\nBelow are the props supported by this component:\n\n| **Name**              | **Type**   | **Default Value** | **Required?** |\n|-----------------------|------------|-------------------|---------------|\n| `type`                | `string`   | `null`            | Yes           |\n| `value`               | `string`   | `null`            | No            |\n| `placeholder`         | `string`   | `\"Search for a..\"`| No            |\n| `emptyString`         | `string`   | `No Record Found` | No            |\n\n\n\n## Function 🛠️\n\nBelow are the props function supported by this component:\n\nonChange\n\n    onChange={(val)=>console.log(val)}\n\n\n## Style 🛠️\n\n| **Name**                       | **Type**   | **Default Value** | **Required?** |\n|--------------------------------|------------|-------------------|---------------|\n| `containerStyle`               | `object`   | `null`            | No            |\n| `inputStyle`                   | `object`   | `null`            | No            |\n| `itemStyle`                    | `object`   | `null`            | No            |\n| `containerClassName`           | `string`   | ``                | No            |\n| `dropdownContainerClassName`   | `string`   | ``                | No            |\n| `inputClassName`               | `string`   | ``                | No            |\n| `itemClassName`                | `string`   | ``                | No            |\n\n\nLicense 📝\n\nThis project is licensed under the MIT License.\n\nAuthors ✍️\n\nAbhisek Goldy - Creator and Maintainer.\n\nSupport ❤️\nIf you like this project, please consider giving it a ⭐ on GitHub!","readmeFilename":"README.md","homepage":"https://github.com/abhisekgoldy/react-address-picker#readme","repository":{"type":"git","url":"git+https://github.com/abhisekgoldy/react-address-picker.git"},"bugs":{"url":"https://github.com/abhisekgoldy/react-address-picker/issues"}}