{"_id":"@awrminkhodaei/react-native-horizontal-datepicker","_rev":"5-74d4604829b15f12837994d64ed8ffc5","name":"@awrminkhodaei/react-native-horizontal-datepicker","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.2":{"name":"@awrminkhodaei/react-native-horizontal-datepicker","version":"0.1.2","keywords":["react-native","ios","android"],"author":{"url":"https://github.com/AwrminKhodaei","name":"awrminkhodaei","email":"awrminkhodaei@gmail.com"},"license":"MIT","_id":"@awrminkhodaei/react-native-horizontal-datepicker@0.1.2","maintainers":[{"name":"awrminkhodaei","email":"Awrminkhodaei@gmail.com"}],"homepage":"https://github.com/AwrminKhodaei/react-native-horizontal-datepicker#readme","bugs":{"url":"https://github.com/AwrminKhodaei/react-native-horizontal-datepicker/issues"},"dist":{"shasum":"73c2e3f6d13cbef258ae0e741628f70237ecf360","tarball":"https://registry.npmjs.org/@awrminkhodaei/react-native-horizontal-datepicker/-/react-native-horizontal-datepicker-0.1.2.tgz","fileCount":27,"integrity":"sha512-wnrm2RHMsPDBJqC0DkISYgJrHezd+hOtlXPe3U0Vui7vXRMjYBNkBW4JHeUOEJdG6vUrVitdZRtrNnsNeTCDOw==","signatures":[{"sig":"MEYCIQDG4Mx9/da911wcdN1WQtd575s/A1SsewT8p+U7jAgfBgIhAPW5I/+f6BYTsw8ADqBt/zKiwN8eX076wldtXSU3PnMg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzO7oCRA9TVsSAnZWagAA4E0P/jAIYjG82TrlLU9AK4V4\nf564CMLh0/kKDmTb8V62FzuFdtVlYuyg7zFhQE+8u3kwO5nuA2kgeyICb0oQ\nmh0FUzUsONlyqM8oLcBB+4yVzez437IZJCUs44PlagW9o/XtYogluyihm/Cf\nvpfXUutrYCOLPiwn9v2xnw6drDBFMEAL0/Qz8KKKyO9eJIT+a0M+mD8LZ9Y6\nxMTOUH12f/51lFgXDnbmucTIFDpNttk71IRpQ/xwbmqIQOaF2rNYOZrQi2sl\nrzF+jPnT3W3cPNd7vKQTWbZZz05cnJksuOdG7atsJxMbcxke76uowNv3bjAH\nfNA55/aabtYaNs58n3Gbeb1j7QX3/yWF0c4dsSnJlDoDme50rE/MRSVN7U+j\nXNcPWgxuWvHsprkzR/T+MfTrfRg5HD7JTgEW8qXr5n/ZNdGjYz16czax8x26\n3CZTQRtEacUOkk149XxDK+ivcbE4uvLF2QnnitaKN8X6ZLi8lMamtWpczmiG\nC0f1k4MsUCW28Fa36Muv//h8X+fbt8e6O09EExwbhzsplHO9TtmztuFbOSY7\nuuhKHC7LRGpFFFQ4x5Fsr2NJ8UMW6XSHqRjKDJMHLEer+rr40ccZfZaZKniL\npghQtZh2P0bTX+C2I3ZD64Bbzk9Exmvjb7av5Wack/7XvOHxesYsJ+ISi5bC\nWrMv\r\n=i3cE\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"yarn lint && yarn typescript"}},"types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"8a4b609f4d600ce9ab486c7bf366967fc96a9863","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","pods":"cd example && pod-install --quiet","test":"jest","example":"yarn --cwd example","prepare":"bob build","release":"release-it","bootstrap":"yarn example && yarn && yarn pods","typescript":"tsc --noEmit"},"_npmUser":{"name":"awrminkhodaei","email":"Awrminkhodaei@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/AwrminKhodaei/react-native-horizontal-datepicker.git","type":"git"},"_npmVersion":"6.14.9","description":"horizontal datepicker for react-native","directories":{},"_nodeVersion":"12.16.1","eslintConfig":{"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native-community","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","husky":"^4.2.5","react":"16.11.0","eslint":"^7.2.0","prettier":"^2.0.5","commitlint":"^8.3.5","release-it":"^13.5.8","typescript":"^3.8.3","@types/jest":"^26.0.0","pod-install":"^0.1.0","@types/react":"^16.9.19","react-native":"0.62.2","moment-jalaali":"^0.9.2","@types/react-native":"0.62.13","react-test-renderer":"^17.0.1","@types/moment-jalaali":"^0.7.4","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","@types/react-test-renderer":"^17.0.0","@react-native-community/bob":"^0.16.2","@commitlint/config-conventional":"^8.3.4","@release-it/conventional-changelog":"^1.1.4","@react-native-community/eslint-config":"^2.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-horizontal-datepicker_0.1.2_1607266023610_0.3762253517898406","host":"s3://npm-registry-packages"},"@react-native-community/bob":{"output":"lib","source":"src","targets":["commonjs","module","typescript"]}},"0.1.5":{"name":"@awrminkhodaei/react-native-horizontal-datepicker","version":"0.1.5","keywords":["react-native","ios","android"],"author":{"url":"https://github.com/AwrminKhodaei","name":"awrminkhodaei","email":"awrminkhodaei@gmail.com"},"license":"MIT","_id":"@awrminkhodaei/react-native-horizontal-datepicker@0.1.5","maintainers":[{"name":"awrminkhodaei","email":"Awrminkhodaei@gmail.com"}],"homepage":"https://github.com/AwrminKhodaei/react-native-horizontal-datepicker#readme","bugs":{"url":"https://github.com/AwrminKhodaei/react-native-horizontal-datepicker/issues"},"dist":{"shasum":"e75ba353b4e5ae0e845a593ab36347cf8d309f01","tarball":"https://registry.npmjs.org/@awrminkhodaei/react-native-horizontal-datepicker/-/react-native-horizontal-datepicker-0.1.5.tgz","fileCount":27,"integrity":"sha512-SzAr9HWvOaXrr31zRSIMFdinDZ3NvSsBv1sWH9easJcFy2wYCsV1F4GoiktRHJk+zWqZjLYd7+S68XZ8bIgAwA==","signatures":[{"sig":"MEYCIQC/aYznH357gxb+NrGOV+cH49m/FvF8LPsNQbkY/nGK9gIhAKEw/GU01ByDsBJVgcmXVWB33lB3HGuzB9PuVMoaCexr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzPMnCRA9TVsSAnZWagAA1XwQAJB5CKuQNAGqednPtAdP\n+3cFkOoU8h3ED7PRM0uSVtFhWmHaKnU3AbeHNuacjKRHI778JAmFo4yjt11m\nJ92sfIxkVYIsDWErKs9LM3ppASQOkZeEmJGqWTCCFdIaGtbxFgHrDuiWH6kC\npeP1Q6UgTq+BAhJf15nse3ohfL+9+u1SMbYOnEB1AzCVH+sZINkdU3oH6/75\nj6nTBVeJ5ysUdg16V59YJZ2fasRbdn0XngRjwtA8vbC9kTPSzylQYu/fCz3Q\n7M5t6mKBrX1Y9Pu4faEfEhPS/pKd7z+w/h2XVFhlS9nQ1cWguadIxOPXtBP6\nnOMtfzTgKWIKrVxYIY0JQTvmHT3mqvxtNPpUDXb1xJjB1WskUVvxARUOOw3H\n03DMNYgGSBJGSBRM/A5f0slqPxI1jGeK0gwYpzWc4wx3ZJdUbNHSz9bs84IC\nJT6hBAkLcDBfwaeY0e31WujfkxM5JPXw6QkgyEKKvuLn8cFM2qXDjG2PU4Ow\n7YyGPPMgdcSmslPdZ4LtpvSUAUgba/qGmr0eMWjMw1fjJXcK+OE83hMwcUUV\nxvb6TmdLzPrw9dLY7zR4ZThoOW2cyeEZS7KsagxnEmG3l3vIiVfYNVkn17zj\nEitd8HPxEcCiZQOWEdUi+d11KVoY1HWhZveZntxTK8O+bPgiPQU0woIF+dZs\nLBAW\r\n=8Yub\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"yarn lint && yarn typescript"}},"types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"06c1ca08699b91337ac3a36ac32ec15cd9cb826b","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","pods":"cd example && pod-install --quiet","test":"jest","example":"yarn --cwd example","prepare":"bob build","release":"release-it","bootstrap":"yarn example && yarn && yarn pods","typescript":"tsc --noEmit"},"_npmUser":{"name":"awrminkhodaei","email":"Awrminkhodaei@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/AwrminKhodaei/react-native-horizontal-datepicker.git","type":"git"},"_npmVersion":"6.14.9","description":"horizontal datepicker for react-native","directories":{},"_nodeVersion":"12.16.1","eslintConfig":{"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native-community","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","husky":"^4.2.5","react":"16.11.0","eslint":"^7.2.0","prettier":"^2.0.5","commitlint":"^8.3.5","release-it":"^13.5.8","typescript":"^3.8.3","@types/jest":"^26.0.0","pod-install":"^0.1.0","@types/react":"^16.9.19","react-native":"0.62.2","moment-jalaali":"^0.9.2","@types/react-native":"0.62.13","react-test-renderer":"^17.0.1","@types/moment-jalaali":"^0.7.4","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","@types/react-test-renderer":"^17.0.0","@react-native-community/bob":"^0.16.2","@commitlint/config-conventional":"^8.3.4","@release-it/conventional-changelog":"^1.1.4","@react-native-community/eslint-config":"^2.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-horizontal-datepicker_0.1.5_1607267110763_0.4737060420969321","host":"s3://npm-registry-packages"},"@react-native-community/bob":{"output":"lib","source":"src","targets":["commonjs","module","typescript"]}},"0.1.6":{"name":"@awrminkhodaei/react-native-horizontal-datepicker","version":"0.1.6","keywords":["react-native","ios","android"],"author":{"url":"https://github.com/AwrminKhodaei","name":"awrminkhodaei","email":"awrminkhodaei@gmail.com"},"license":"MIT","_id":"@awrminkhodaei/react-native-horizontal-datepicker@0.1.6","maintainers":[{"name":"awrminkhodaei","email":"Awrminkhodaei@gmail.com"}],"homepage":"https://github.com/AwrminKhodaei/react-native-horizontal-datepicker#readme","bugs":{"url":"https://github.com/AwrminKhodaei/react-native-horizontal-datepicker/issues"},"dist":{"shasum":"4b4165d9319d4ef663a9e4b5e3402ee1701ecd52","tarball":"https://registry.npmjs.org/@awrminkhodaei/react-native-horizontal-datepicker/-/react-native-horizontal-datepicker-0.1.6.tgz","fileCount":27,"integrity":"sha512-67kOrbp4wKs6l1wetkRgnXSJtrtWyRSON/M8Coc3ixbw3CYOVglBb/gT95CmiuBYweqFzsWv1GmqsQ3YscNyhg==","signatures":[{"sig":"MEYCIQDOvkfODLy1oauiIIch1jtmlh/vMrb4TsA4x8oYK/g0FwIhAM/LilxdA9K10t24PY/2ANiyX8wKcNY9KodYWBgQndBU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzQwpCRA9TVsSAnZWagAAsrcQAJO8f3gRf7wl8B/QhJhY\nTLPwp8RLJ8lD4CL7ICYhad7i4d9mdqsBIVZjCiMvxGwXL2hS6/LgDPXV6n2F\nWWrrmNNRpMnLpGPXlKSqasFj7X6P8cbXYNg7Cmp/mUw7I2NX5zNmWDVCaEE/\nznr1UR4CosmUBwWUjUuzZJbstQ7AyK/rt56tSMLeIqYdY/aE028l+YfmuZgz\nuXjmcNtEoMtgU2ty7SgSLRdZqW8SFdq1MNJs6VWwmT8DRB7pSXUegeksqfpN\nUbiGyQuGh6JHKPa49rH6riKIyJMCiO2UqtVafYoLIwQs7k3drp7DRsx8eHmU\nJyCXjKEASbboh7y8uL+xoJQizvVh1QMfGqU6AxWsVvBtESV93x/GvTDGqijG\ntTDKpIlWtNJArEmCNF4bFNp0oOgJTQHo4l9WzCESfEBlOwJLsSt+I/3zNdmP\njoU958K4l1iW5Xt5baSUGSxwodkPjC2u+c+12KLXvg+4NLLENsCZgwJ3kKSu\nNYZhLiKEKBnSnrSa5O/tQA+/bQ95qHLmuOUOZxd/WYMDXk5PWZN0fJg9NcQC\no9R0t46Ph/QqHvlGphxB6kyzD0XfZLARsH40V8cu+kLtMJIcjfUEr1z5NWMv\niA83vgaBvtf/kUgifB9P5wp0YFWGQqdzTsHruX/STuzNt/T0Svr50NF+RfN8\ndtxJ\r\n=jo8F\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"yarn lint && yarn typescript"}},"types":"lib/typescript/src/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"5d3102b750db3f3e875ceb37708a1f6faabf8186","scripts":{"lint":"eslint \"**/*.{js,ts,tsx}\"","pods":"cd example && pod-install --quiet","test":"jest","example":"yarn --cwd example","prepare":"bob build","release":"release-it","bootstrap":"yarn example && yarn && yarn pods","typescript":"tsc --noEmit"},"_npmUser":{"name":"awrminkhodaei","email":"Awrminkhodaei@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/AwrminKhodaei/react-native-horizontal-datepicker.git","type":"git"},"_npmVersion":"6.14.9","description":"horizontal datepicker for react-native","directories":{},"_nodeVersion":"12.16.1","eslintConfig":{"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native-community","prettier"]},"eslintIgnore":["node_modules/","lib/"],"react-native":"src/index","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","husky":"^4.2.5","react":"16.11.0","eslint":"^7.2.0","prettier":"^2.0.5","commitlint":"^8.3.5","release-it":"^13.5.8","typescript":"^3.8.3","@types/jest":"^26.0.0","pod-install":"^0.1.0","@types/react":"^16.9.19","react-native":"0.62.2","moment-jalaali":"^0.9.2","@types/react-native":"0.62.13","react-test-renderer":"^17.0.1","@types/moment-jalaali":"^0.7.4","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","@types/react-test-renderer":"^17.0.0","@react-native-community/bob":"^0.16.2","@commitlint/config-conventional":"^8.3.4","@release-it/conventional-changelog":"^1.1.4","@react-native-community/eslint-config":"^2.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-horizontal-datepicker_0.1.6_1607273513330_0.5762572973274698","host":"s3://npm-registry-packages"},"@react-native-community/bob":{"output":"lib","source":"src","targets":["commonjs","module","typescript"]}},"1.0.0":{"name":"@awrminkhodaei/react-native-horizontal-datepicker","version":"1.0.0","description":"horizontal datepicker for react-native","main":"lib/commonjs/index.js","module":"lib/module/index.js","types":"lib/typescript/src/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"TZ=America/New_York jest","typescript":"tsc --noEmit","lint":"eslint .","build":"bob build","prepare":"husky && bob build","release":"release-it","example":"yarn --cwd example","bootstrap":"yarn example && yarn"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/AwrminKhodaei/react-native-horizontal-datepicker.git"},"author":{"name":"awrminkhodaei","email":"awrminkhodaei@gmail.com","url":"https://github.com/AwrminKhodaei"},"license":"MIT","bugs":{"url":"https://github.com/AwrminKhodaei/react-native-horizontal-datepicker/issues"},"homepage":"https://github.com/AwrminKhodaei/react-native-horizontal-datepicker#readme","devDependencies":{"@babel/core":"^7.25.2","@babel/preset-env":"^7.25.4","@babel/runtime":"^7.25.6","@commitlint/cli":"^19.5.0","@commitlint/config-conventional":"^19.5.0","@eslint/js":"^9.10.0","@react-native/babel-preset":"0.87.1","@react-native/jest-preset":"0.87.1","@release-it/conventional-changelog":"^12.0.0","@testing-library/react-native":"^14.0.1","@types/jest":"^29.5.13","@types/react":"^19.1.1","eslint":"^9.10.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","eslint-plugin-react":"^7.36.1","eslint-plugin-react-hooks":"^4.6.2","husky":"^9.1.6","jest":"^29.7.0","prettier":"^3.3.3","react":"19.2.3","react-native":"0.87.1","react-native-builder-bob":"^0.43.0","release-it":"^21.0.2","test-renderer":"^1.2.0","typescript":"^5.6.2","typescript-eslint":"^8.5.0"},"peerDependencies":{"react":">=16.8.0","react-native":">=0.60.0"},"jest":{"preset":"@react-native/jest-preset","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"publishConfig":{"access":"public"},"dependencies":{"moment-jalaali":"^0.9.2","@types/moment-jalaali":"^0.7.4"},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"gitHead":"1915295671e410856b7bb0b31db75b64da281392","_id":"@awrminkhodaei/react-native-horizontal-datepicker@1.0.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-yRnUIzxwiDoY9VZhegH17t3WGAlPkfh/oXk/+HWjJLgtrvcvoCAaVmpiW1ewDAxK/D/p5daLrQgTSOCJXwzaQA==","shasum":"b239e023437e72c1d667effc64990d400090e85a","tarball":"https://registry.npmjs.org/@awrminkhodaei/react-native-horizontal-datepicker/-/react-native-horizontal-datepicker-1.0.0.tgz","fileCount":39,"unpackedSize":69921,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDzFlvqMgrw73Ut9IjRJ1ntzisgOAJRH0bQ6q9zy224UAiB4QSIbOJ1Yx4xZPPKmLnENg2CZcqsiuD6g1uaUdV8GpA=="}]},"_npmUser":{"name":"awrminkhodaei","email":"Awrminkhodaei@gmail.com"},"directories":{},"maintainers":[{"name":"awrminkhodaei","email":"Awrminkhodaei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native-horizontal-datepicker_1.0.0_1788385243783_0.5560371939391808"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-06T14:47:03.565Z","modified":"2026-09-02T21:40:44.057Z","0.1.2":"2020-12-06T14:47:03.774Z","0.1.5":"2020-12-06T15:05:10.910Z","0.1.6":"2020-12-06T16:51:53.484Z","1.0.0":"2026-09-02T21:40:43.931Z"},"bugs":{"url":"https://github.com/AwrminKhodaei/react-native-horizontal-datepicker/issues"},"author":{"name":"awrminkhodaei","email":"awrminkhodaei@gmail.com","url":"https://github.com/AwrminKhodaei"},"license":"MIT","homepage":"https://github.com/AwrminKhodaei/react-native-horizontal-datepicker#readme","keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/AwrminKhodaei/react-native-horizontal-datepicker.git"},"description":"horizontal datepicker for react-native","maintainers":[{"name":"awrminkhodaei","email":"Awrminkhodaei@gmail.com"}],"readme":"# react-native-horizontal-datepicker\n\nJalali and gregorian react native horizontal datepicker 🔥\n\n  <p align='center'>\n<img src=\"https://i.ibb.co/7Yh2GSP/package.png\" alt=\"@awrminkhodaei/react-native-horizontal-datepicker\" style=\"max-width: 100%;\"/>\n</p>\n\n![React native horizontal date picker - Animated gif demo](example/demo.gif)\n\n## Installation\n\n```sh\n\nnpm install @awrminkhodaei/react-native-horizontal-datepicker\n\nor\n\nyarn add @awrminkhodaei/react-native-horizontal-datepicker\n\n```\n\nThere is nothing else to install — `moment-jalaali` now ships as a dependency\nof this package. Before v1 you had to add it to your own app by hand.\n\n## Usage\n\n```js\nimport HorizontalDatepicker from '@awrminkhodaei/react-native-horizontal-datepicker';\n\n// ...\n\n<HorizontalDatepicker\n  mode=\"gregorian\"\n  startDate=\"2020-08-20\"\n  endDate=\"2020-08-31\"\n  initialSelectedDate=\"2020-08-22\"\n  onSelectedDateChange={(date) => setSelectedDate(date)}\n  selectedItemWidth={170}\n  unselectedItemWidth={38}\n  itemHeight={38}\n  itemRadius={10}\n  selectedItemTextStyle={styles.selectedItemTextStyle}\n  unselectedItemTextStyle={styles.unselectedItemTextStyle}\n  selectedItemBackgroundColor=\"#222831\"\n  unselectedItemBackgroundColor=\"#ececec\"\n  flatListContainerStyle={styles.flatListContainerStyle}\n/>;\n```\n\n### Dates and time zones\n\nEvery date prop accepts a `'YYYY-MM-DD'` string, a `Date`, or a moment.\n\nPrefer the string form. `new Date('2020-08-20')` is **UTC** midnight by the\nJavaScript spec, so anywhere west of UTC it is really the evening of the 19th\nand the picker will start a day early. A `Date` is read by its local calendar\nday, so `new Date(2020, 7, 20)` is also unambiguous.\n\n`onSelectedDateChange` hands you a `Date` at local midnight, so\n`date.getDate()` always matches the day that was tapped.\n\n## Props\n\n| Prop                            | Type                       | Default       | Description                                             |\n| ------------------------------- | -------------------------- | ------------- | ------------------------------------------------------- |\n| `mode`                          | `'gregorian' \\| 'jalali'`  | `'gregorian'` | Calendar system used for labels                         |\n| `startDate`                     | `string \\| Date \\| Moment` | —             | First day of the range, **inclusive**                   |\n| `endDate`                       | `string \\| Date \\| Moment` | —             | Last day of the range, **inclusive**                    |\n| `onSelectedDateChange`          | `(date: Date) => void`     | —             | Called with the tapped day at local midnight            |\n| `initialSelectedDate`           | `string \\| Date \\| Moment` | none          | Day to select on mount; changing it moves the selection |\n| `selectedItemWidth`             | `number`                   | `170`         | Width of the selected item                              |\n| `unselectedItemWidth`           | `number`                   | `38`          | Width of the other items                                |\n| `itemHeight`                    | `number`                   | `38`          | Height of every item                                    |\n| `itemRadius`                    | `number`                   | `10`          | Corner radius of every item                             |\n| `itemSpacing`                   | `number`                   | `10`          | Horizontal margin on each side of every item            |\n| `selectedItemTextStyle`         | `TextStyle`                | —             | Text style of the selected item                         |\n| `unselectedItemTextStyle`       | `TextStyle`                | —             | Text style of the other items                           |\n| `selectedItemBackgroundColor`   | `string`                   | `#16213e`     | Background of the selected item                         |\n| `unselectedItemBackgroundColor` | `string`                   | `#fff`        | Background of the other items                           |\n| `flatListContainerStyle`        | `ViewStyle`                | —             | `contentContainerStyle` of the underlying `FlatList`    |\n\nEach day is exposed to screen readers as a button labelled with its full date,\nand carries an `accessibilityState.selected` flag. Each day also has a\n`testID` of `date-YYYY-MM-DD` so you can target it from your own tests.\n\n## Upgrading to v1\n\nv1 is a bug-fix release, but four fixes change what you see on screen:\n\n- **`endDate` is now inclusive.** It used to be dropped. If you were adding a\n  day to work around that, remove it.\n- **`selectedItemTextStyle` now works.** It was previously overridden by the\n  built-in style, so a picker that looked right may now pick up a `color` or\n  `fontSize` you passed years ago and never saw applied.\n- **Omitting `initialSelectedDate` now selects nothing.** It used to select\n  today. Pass `initialSelectedDate={new Date()}` to keep the old behaviour.\n- **Tapping a day scrolls it to the right place.** The old measurement\n  reported an item's height as its width and ignored margins.\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}