{"_id":"@alim1496/simple-react-timepicker","_rev":"6-1df28e018b424485e88ed6c836c59564","name":"@alim1496/simple-react-timepicker","dist-tags":{"latest":"1.2.4"},"versions":{"1.0.0":{"name":"@alim1496/simple-react-timepicker","version":"1.0.0","description":"A simple time picker for react applications","keywords":["React","Time Picker","Typescript"],"author":{"name":"M A Alim"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","type":"module","scripts":{"clean":"rimraf dist/","watch":"rollup -c -w --bundleConfigAsCjs","build":"npm run clean && rollup -c --bundleConfigAsCjs"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.1","@rollup/plugin-node-resolve":"^15.1.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.1","@types/react":"^18.2.8","copyfiles":"^2.4.1","react":"^18.2.0","react-dom":"^18.2.0","rimraf":"^5.0.1","rollup":"^3.25.1","rollup-plugin-dts":"^5.3.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","tslib":"^2.5.3","typescript":"^5.1.3"},"peerDependencies":{"react":"^18.2.0"},"gitHead":"f3bbef3a03b2c1b465b0eb729d3b533b1bacbce1","_id":"@alim1496/simple-react-timepicker@1.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-YBW/Bn8dOZJwiOPSWGu22MXqKzF2XwIJEvU5RLP9l1tuqM1EL9zrHDNlYr7dlyaD3z8LAaqv0KWi+4m0HxOsOg==","shasum":"b0a6e7d585e2cf00545bba17bc21a8c70ee9fecb","tarball":"https://registry.npmjs.org/@alim1496/simple-react-timepicker/-/simple-react-timepicker-1.0.0.tgz","fileCount":19,"unpackedSize":47562,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFv+HN48asf/k8O+7xhNit2nj6r12ptachcvqJYBTI8jAiEA20aJa6VAS1Rc8KX52DzKEEWYQvoqThqZBqLBv4OUIn8="}]},"_npmUser":{"name":"alim1496","email":"alim1496@gmail.com"},"directories":{},"maintainers":[{"name":"alim1496","email":"alim1496@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-react-timepicker_1.0.0_1687112359402_0.8644015627947299"},"_hasShrinkwrap":false},"1.1.0":{"name":"@alim1496/simple-react-timepicker","version":"1.1.0","description":"A simple time picker for react applications","keywords":["React","Time Picker","Typescript"],"author":{"name":"M A Alim"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","type":"module","scripts":{"clean":"rimraf dist/","watch":"rollup -c -w --bundleConfigAsCjs","build":"npm run clean && rollup -c --bundleConfigAsCjs"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.1","@rollup/plugin-node-resolve":"^15.1.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.1","@types/react":"^18.2.8","react":"^18.2.0","rimraf":"^5.0.1","rollup":"^3.25.1","rollup-plugin-dts":"^5.3.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","tslib":"^2.5.3","typescript":"^5.1.3"},"peerDependencies":{"react":"^18.2.0"},"gitHead":"677bbdaf64b8ab5bc2d848afd4ac7ef81d630369","_id":"@alim1496/simple-react-timepicker@1.1.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-gpOB0ABPot7TAcgKIQowJDxfetY5hPeXMwvGX54+X5Z3TYDTlKFnH2D5X1g7kqZEOpl+NgH5TBQwBAi1AUoJLQ==","shasum":"6153fc8e828ce4729f6ecf296fafcd4438715ef9","tarball":"https://registry.npmjs.org/@alim1496/simple-react-timepicker/-/simple-react-timepicker-1.1.0.tgz","fileCount":23,"unpackedSize":55440,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACEQVW506aaBc9hFlIuGdhSSd5HTKSvR2Seo7mmCcH5AiBJ/JB05UCpWkQCBA7OzFXPr5uqDDBvIIDvvX6zFGcFqw=="}]},"_npmUser":{"name":"alim1496","email":"alim1496@gmail.com"},"directories":{},"maintainers":[{"name":"alim1496","email":"alim1496@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-react-timepicker_1.1.0_1687693820538_0.4388424397033399"},"_hasShrinkwrap":false},"1.2.0":{"name":"@alim1496/simple-react-timepicker","version":"1.2.0","description":"A simple time picker for react applications","keywords":["React","Time Picker","Typescript"],"author":{"name":"M A Alim"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","type":"module","scripts":{"clean":"rimraf dist/","watch":"rollup -c -w --bundleConfigAsCjs","build":"npm run clean && rollup -c --bundleConfigAsCjs"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.1","@rollup/plugin-node-resolve":"^15.1.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.1","@types/react":"^18.2.8","react":"^18.2.0","rimraf":"^5.0.1","rollup":"^3.25.1","rollup-plugin-dts":"^5.3.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","tslib":"^2.5.3","typescript":"^5.1.3"},"peerDependencies":{"react":"^18.2.0"},"gitHead":"9068f7f0edbbca4da2cf2d246062ce6c7cb52f76","_id":"@alim1496/simple-react-timepicker@1.2.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-EHLZCi/4VWjREqrIp1vDJ6voLVxsjut9O0RZ8pZt+hsVmO3kVRGtjJXDpzcKsTxhKKFD3m4kbVjCVKFJDEz1nA==","shasum":"6933286ab4a21075d46a0744149674dd01264a1f","tarball":"https://registry.npmjs.org/@alim1496/simple-react-timepicker/-/simple-react-timepicker-1.2.0.tgz","fileCount":24,"unpackedSize":57931,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwgQgTsCsmZZL+8WbByAHL/222v+N0rZYX22MQvB4TrgIhAIKctn0GeSDT8m/wLa7K0VZbDjcVBhSrgv2mFt72FaeT"}]},"_npmUser":{"name":"alim1496","email":"alim1496@gmail.com"},"directories":{},"maintainers":[{"name":"alim1496","email":"alim1496@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-react-timepicker_1.2.0_1687764161778_0.35236134950718534"},"_hasShrinkwrap":false},"1.2.1":{"name":"@alim1496/simple-react-timepicker","version":"1.2.1","description":"A simple time picker for react applications","keywords":["React","Time Picker","Typescript"],"author":{"name":"M A Alim"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","type":"module","scripts":{"clean":"rimraf dist/","watch":"rollup -c -w --bundleConfigAsCjs","build":"npm run clean && rollup -c --bundleConfigAsCjs"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.1","@rollup/plugin-node-resolve":"^15.1.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.1","@types/react":"^18.2.8","react":"^18.2.0","rimraf":"^5.0.1","rollup":"^3.25.1","rollup-plugin-dts":"^5.3.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","tslib":"^2.5.3","typescript":"^5.1.3"},"peerDependencies":{"react":"^18.2.0"},"gitHead":"4beda5fa64c8b7188680fe0055310bf9550f0596","_id":"@alim1496/simple-react-timepicker@1.2.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-yuyYqm/iqqIUDuPlnrE3qAp0SQlV0Pab+cQHFvv3prMx9DAjMQBwtAcOYsfTswfeRmcS3O6d9ulWK4vlFUx9tQ==","shasum":"30a64b34630a4513f5e4d770ed4e92a82c7651e0","tarball":"https://registry.npmjs.org/@alim1496/simple-react-timepicker/-/simple-react-timepicker-1.2.1.tgz","fileCount":24,"unpackedSize":58113,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy99xvgy70or77DQLha9Dns6aU9cUtU2e3tXxQAa2+ngIgQXJeJUK+8v2V/8PxqnX3QCbzZjKp/fMG6sd8tGv4kpI="}]},"_npmUser":{"name":"alim1496","email":"alim1496@gmail.com"},"directories":{},"maintainers":[{"name":"alim1496","email":"alim1496@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-react-timepicker_1.2.1_1688364527646_0.41253474310238514"},"_hasShrinkwrap":false},"1.2.2":{"name":"@alim1496/simple-react-timepicker","version":"1.2.2","description":"A simple time picker for react applications","keywords":["React","Time Picker","Typescript"],"author":{"name":"M A Alim"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","type":"module","scripts":{"clean":"rimraf dist/","watch":"rollup -c -w --bundleConfigAsCjs","build":"npm run clean && rollup -c --bundleConfigAsCjs"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.1","@rollup/plugin-node-resolve":"^15.1.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.1","@types/react":"^18.2.8","react":"^18.2.0","rimraf":"^5.0.1","rollup":"^3.25.1","rollup-plugin-dts":"^5.3.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","tslib":"^2.5.3","typescript":"^5.1.3"},"peerDependencies":{"react":"^18.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2023 M A Alim\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@alim1496/simple-react-timepicker@1.2.2","dist":{"shasum":"9596e7056767dd7eb05a85086175653c9236a3fb","integrity":"sha512-E3g/43/euCZsW583btLer6jryZjUHKa89aqaZOm7Apdh8pE79yAZnDZOSzwAf5ABJIwdnp+AszKHOHlcs0Xsrg==","tarball":"https://registry.npmjs.org/@alim1496/simple-react-timepicker/-/simple-react-timepicker-1.2.2.tgz","fileCount":28,"unpackedSize":58113,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQXf71tC/qepbpYaRooZOZMXaGT2PDG4+SBxY6KOKGuAiEAzK9iy8+CVQV1/dEPDM3VfSZLbUV1OKjjwKtsOVUvOk8="}]},"_npmUser":{"name":"alim1496","email":"alim1496@gmail.com"},"directories":{},"maintainers":[{"name":"alim1496","email":"alim1496@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-react-timepicker_1.2.2_1688364694320_0.03484770680299598"},"_hasShrinkwrap":false},"1.2.3":{"name":"@alim1496/simple-react-timepicker","version":"1.2.3","description":"A simple time picker for react applications","keywords":["React","Time Picker","Typescript"],"author":{"name":"M A Alim"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","type":"module","scripts":{"clean":"rimraf dist/","watch":"rollup -c -w --bundleConfigAsCjs","build":"npm run clean && rollup -c --bundleConfigAsCjs"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.1","@rollup/plugin-node-resolve":"^15.1.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.1","@types/react":"^18.2.8","react":"^18.2.0","rimraf":"^5.0.1","rollup":"^3.25.1","rollup-plugin-dts":"^5.3.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","tslib":"^2.5.3","typescript":"^5.1.3"},"peerDependencies":{"react":"^18.2.0"},"gitHead":"be8a829d8c17b31ec52100111004dcd41f0aeae8","_id":"@alim1496/simple-react-timepicker@1.2.3","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-qFMK/tJtsb5bKW9oyH3PDVWBFIOqAHaHlO4MynvcrKfgBpx9/nY/pBzD3HVKU+tiwXgODTz1AsnbYAAU4bY/Rg==","shasum":"98fc67e582cfc7cac01c836c81e096d9930089bc","tarball":"https://registry.npmjs.org/@alim1496/simple-react-timepicker/-/simple-react-timepicker-1.2.3.tgz","fileCount":24,"unpackedSize":58621,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEGXE3FTaLDDLYUkH0lQ52A60+pXsZfvFqyqmE02A7EsAiEA1X2fdCw1QfGpBD51Y63dQMLLKLx3XsObJMEEH2JY8Eg="}]},"_npmUser":{"name":"alim1496","email":"alim1496@gmail.com"},"directories":{},"maintainers":[{"name":"alim1496","email":"alim1496@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-react-timepicker_1.2.3_1688365311464_0.9713293092522151"},"_hasShrinkwrap":false},"1.2.4":{"name":"@alim1496/simple-react-timepicker","version":"1.2.4","description":"A simple time picker for react applications","keywords":["React","Time Picker","Typescript"],"author":{"name":"M A Alim"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","type":"module","scripts":{"clean":"rimraf dist/","watch":"rollup -c -w --bundleConfigAsCjs","build":"npm run clean && rollup -c --bundleConfigAsCjs"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.1","@rollup/plugin-node-resolve":"^15.1.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.1","@types/react":"^18.2.8","react":"^18.2.0","rimraf":"^5.0.1","rollup":"^3.25.1","rollup-plugin-dts":"^5.3.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","tslib":"^2.5.3","typescript":"^5.1.3"},"peerDependencies":{"react":"^18.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2023 M A Alim\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@alim1496/simple-react-timepicker@1.2.4","dist":{"shasum":"619bd6cda4bec11501745581d17e1e07e4568558","integrity":"sha512-ulkWWjDRxeE6q/dCPbqO/tVappnMnexvc2qiput+/ZfcgRFS29ZkzzxON/iMNmaQcNKa9gfBl1z/g9AO4CyYZg==","tarball":"https://registry.npmjs.org/@alim1496/simple-react-timepicker/-/simple-react-timepicker-1.2.4.tgz","fileCount":28,"unpackedSize":58621,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCEZuFiS8joyZILcRWmm9qWiknyhmeyOkwTW0qZH1HMAiBxQL8RjQjYNUEw6yhK3ImRoIk1ImSrvzXF1f5HLrNWyQ=="}]},"_npmUser":{"name":"alim1496","email":"alim1496@gmail.com"},"directories":{},"maintainers":[{"name":"alim1496","email":"alim1496@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-react-timepicker_1.2.4_1688365332425_0.32763282894348866"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-18T18:19:19.348Z","1.0.0":"2023-06-18T18:19:19.585Z","modified":"2023-07-03T06:22:12.764Z","1.1.0":"2023-06-25T11:50:20.697Z","1.2.0":"2023-06-26T07:22:41.947Z","1.2.1":"2023-07-03T06:08:47.951Z","1.2.2":"2023-07-03T06:11:34.499Z","1.2.3":"2023-07-03T06:21:51.649Z","1.2.4":"2023-07-03T06:22:12.614Z"},"maintainers":[{"name":"alim1496","email":"alim1496@gmail.com"}],"description":"A simple time picker for react applications","keywords":["React","Time Picker","Typescript"],"author":{"name":"M A Alim"},"license":"MIT","readme":"# simple-react-timepicker\n\nThis repository contains simple timepicker to be used in React applications. You can edit the time here \n& also select time from dropdown. Currently it supports 24hr format only. I am planning to add more features\ngradually. It has been developed using typescript.\n\n## Installation\n\n### NPM\n```sh\nnpm install @alim1496/simple-react-timepicker\n```\n\n## Usage\n\n### Normal use along with dropdown\n```js\nimport React from 'react'\nimport TimePicker from '@alim1496/simple-react-timepicker'\n\nconst MyApp = () => {\n\tconst onChange = (val: string) => {\n\t\tconsole.log(val)\n\t}\n\n\treturn (\n\t\t<TimePicker time=\"4:20\" onChange={onChange} />\n\t)\n}\n\nexport default MyApp\n```\n\n## Properties\n\n| Property    | Type     | Default Value          | Description                                                                                                                    |\n|-------------|----------|------------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| `time`      | string   | ''                     | The initial time to be displayed. If not passed then the current hour & minute value are displayed.                            |\n| `showList`  | boolean  | true                   | Whether to display the dropdown time values. If `false` then it is not displayed.                                              |\n| `minHour`   | number   | 0                      | The minimum value of hour the user is allowed to input.                                                                        |\n| `maxHour`   | number   | 23                     | The maximum value of hour the user is allowed to input.                                                                        |\n| `onChange`  | function | (time: string) => void | This function helps the user to capture the changed time as `string` in `hh:mm` format.                                        |\n| `className` | string   | ''                     | The name of the class containing customm css rules to be applied.                                                              |\n\n\n## License\n\nMIT © [alim1496](https://github.com/alim1496)\n","readmeFilename":"README.md"}