{"_id":"@capgo/capacitor-date-picker","_rev":"5-89f38eb6962371b4e0e463d2aefe8955","name":"@capgo/capacitor-date-picker","dist-tags":{"latest":"8.1.7"},"versions":{"8.0.0":{"name":"@capgo/capacitor-date-picker","version":"8.0.0","keywords":["capacitor","date-picker","datetime-picker","ios","android"],"author":"Martin Donadieu <martin@capgo.app>","license":"MPL-2.0","_id":"@capgo/capacitor-date-picker@8.0.0","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/docs/plugins/date-picker/","bugs":{"url":"https://github.com/Cap-go/capacitor-date-picker/issues"},"dist":{"shasum":"351546de1c22feee56aca53885bd4df780606f22","tarball":"https://registry.npmjs.org/@capgo/capacitor-date-picker/-/capacitor-date-picker-8.0.0.tgz","fileCount":33,"integrity":"sha512-YQcWpAP9UJeTCh8HfswkzQGOxHmtjgY0riwperkIuGJheDcgkmH2G6QV5UdTb6rqmFEcjPY3BXnmIVEsZ0O53w==","signatures":[{"sig":"MEUCIQD2DW2wDhDNH74eOde+TCVI3rodzFwsvkXi62uSuP3z/QIgcM1c0dABQa7+BoYj4K3PRzVbiF8pPlMCTFkLXif/L6I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":249218},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","shasum":"351546de1c22feee56aca53885bd4df780606f22","scripts":{"fmt":"bun run eslint -- --fix && bun run prettier -- --write && bun run swiftlint -- --fix --format","lint":"bun run eslint && bun run prettier -- --check && bun run swiftlint -- lint","build":"bun run clean && bun run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api DatePickerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint \"**/*.ts\"","verify":"bun run verify:ios && bun run verify:android && bun run verify:web","prettier":"prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorDatePicker -destination generic/platform=iOS","verify:web":"bun run build","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","_integrity":"sha512-YQcWpAP9UJeTCh8HfswkzQGOxHmtjgY0riwperkIuGJheDcgkmH2G6QV5UdTb6rqmFEcjPY3BXnmIVEsZ0O53w==","repository":{"url":"git+https://github.com/Cap-go/capacitor-date-picker.git","type":"git"},"_npmVersion":"10.8.3","description":"Native Capacitor date picker for iOS, Android, and web with fixes for long-standing community issues.","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^10.4.0","rimraf":"^6.1.3","rollup":"^4.60.4","prettier":"^3.8.3","swiftlint":"^2.0.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","@capacitor/cli":"^8.3.4","@capacitor/ios":"^8.3.4","@capacitor/core":"^8.3.4","@capacitor/docgen":"^0.3.1","typescript-eslint":"^8.59.4","@capacitor/android":"^8.3.4","eslint-plugin-import":"^2.32.0","prettier-plugin-java":"^2.9.2","prettier-pretty-check":"^0.2.0","@ionic/prettier-config":"^4.0.0","eslint-config-prettier":"^10.1.8","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-date-picker_8.0.0_1779921066128_0.018010054924205265","host":"s3://npm-registry-packages-npm-production"}},"8.0.1":{"name":"@capgo/capacitor-date-picker","version":"8.0.1","keywords":["capacitor","date-picker","datetime-picker","ios","android"],"author":"Martin Donadieu <martin@capgo.app>","license":"MPL-2.0","_id":"@capgo/capacitor-date-picker@8.0.1","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/docs/plugins/date-picker/","bugs":{"url":"https://github.com/Cap-go/capacitor-date-picker/issues"},"dist":{"shasum":"d0eb6764555221fa9571873a0dd99c0577139ac2","tarball":"https://registry.npmjs.org/@capgo/capacitor-date-picker/-/capacitor-date-picker-8.0.1.tgz","fileCount":35,"integrity":"sha512-NCJoAM4h3r43Ns5Am2LsJtK/fSy5BGVyO14g6JWeqKi12OpgJAcstIMk70k3LtdqEsDSKdGcWp8ygRJmr5EP3w==","signatures":[{"sig":"MEQCIFLMDadp2xej2ouuEX1ByQAByaBAiIr6RGAtLqnIPNQaAiB+DyuGz9+Mc8FdZEaP6XEQ0KsB4S1xbQjskJ+KMAYpDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":521875},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","shasum":"d0eb6764555221fa9571873a0dd99c0577139ac2","scripts":{"fmt":"bun run eslint -- --fix && bun run prettier -- --write && bun run swiftlint -- --fix --format","lint":"bun run eslint && bun run prettier -- --check && bun run swiftlint -- lint","build":"bun run clean && bun run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api DatePickerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint \"**/*.ts\"","verify":"bun run verify:ios && bun run verify:android && bun run verify:web","prettier":"prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorDatePicker -destination generic/platform=iOS","verify:web":"bun run build","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","_integrity":"sha512-NCJoAM4h3r43Ns5Am2LsJtK/fSy5BGVyO14g6JWeqKi12OpgJAcstIMk70k3LtdqEsDSKdGcWp8ygRJmr5EP3w==","repository":{"url":"git+https://github.com/Cap-go/capacitor-date-picker.git","type":"git"},"_npmVersion":"10.8.3","description":"Native Capacitor date picker for iOS, Android, and web with fixes for long-standing community issues.","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^10.4.0","rimraf":"^6.1.3","rollup":"^4.60.4","prettier":"^3.8.3","swiftlint":"^2.0.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","@capacitor/cli":"^8.3.4","@capacitor/ios":"^8.3.4","@capacitor/core":"^8.3.4","@capacitor/docgen":"^0.3.1","typescript-eslint":"^8.59.4","@capacitor/android":"^8.3.4","eslint-plugin-import":"^2.32.0","prettier-plugin-java":"^2.9.2","prettier-pretty-check":"^0.2.0","@ionic/prettier-config":"^4.0.0","eslint-config-prettier":"^10.1.8","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-date-picker_8.0.1_1779923659471_0.0003660794569877446","host":"s3://npm-registry-packages-npm-production"}},"8.0.2":{"name":"@capgo/capacitor-date-picker","version":"8.0.2","keywords":["capacitor","date-picker","datetime-picker","ios","android"],"author":"Martin Donadieu <martin@capgo.app>","license":"MPL-2.0","_id":"@capgo/capacitor-date-picker@8.0.2","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/docs/plugins/date-picker/","bugs":{"url":"https://github.com/Cap-go/capacitor-date-picker/issues"},"dist":{"shasum":"d06ec08fd0dcb24d0931e6a8202407d72e5d8c84","tarball":"https://registry.npmjs.org/@capgo/capacitor-date-picker/-/capacitor-date-picker-8.0.2.tgz","fileCount":37,"integrity":"sha512-+XZDXKOlU2EpB6pPHeOxf8Cf1nLL+YhIHh/BQkY0uIcQCYCVIcTELxUboqesP9Jo+gQd72QCp3GY6nI/H2rAYQ==","signatures":[{"sig":"MEQCIEwo+RR+1OJijA/4kzygZ+TQe+Gxxb1FqKkErcS90UQPAiA/GygVwPVIvWmMUsqDL/klwrshWEHcpAQ1EeRslhW6LQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":586153},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","shasum":"d06ec08fd0dcb24d0931e6a8202407d72e5d8c84","scripts":{"fmt":"bun run eslint -- --fix && bun run prettier -- --write && bun run swiftlint -- --fix --format","lint":"bun run eslint && bun run prettier -- --check && bun run swiftlint -- lint","build":"bun run clean && bun run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api DatePickerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint \"**/*.ts\"","verify":"bun run verify:ios && bun run verify:android && bun run verify:web","prettier":"prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorDatePicker -destination generic/platform=iOS","verify:web":"bun run build","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","_integrity":"sha512-+XZDXKOlU2EpB6pPHeOxf8Cf1nLL+YhIHh/BQkY0uIcQCYCVIcTELxUboqesP9Jo+gQd72QCp3GY6nI/H2rAYQ==","repository":{"url":"git+https://github.com/Cap-go/capacitor-date-picker.git","type":"git"},"_npmVersion":"10.8.3","description":"Native Capacitor date picker for iOS, Android, and web with fixes for long-standing community issues.","directories":{},"_nodeVersion":"24.3.0","_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^10.4.0","rimraf":"^6.1.3","rollup":"^4.60.4","prettier":"^3.8.3","swiftlint":"^2.0.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","@capacitor/cli":"^8.3.4","@capacitor/ios":"^8.3.4","@capacitor/core":"^8.3.4","@capacitor/docgen":"^0.3.1","typescript-eslint":"^8.59.4","@capacitor/android":"^8.3.4","eslint-plugin-import":"^2.32.0","prettier-plugin-java":"^2.9.2","prettier-pretty-check":"^0.2.0","@ionic/prettier-config":"^4.0.0","eslint-config-prettier":"^10.1.8","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-date-picker_8.0.2_1779926302213_0.7552655057717392","host":"s3://npm-registry-packages-npm-production"}},"8.1.7":{"_id":"@capgo/capacitor-date-picker@8.1.7","bugs":{"url":"https://github.com/Cap-go/capacitor-date-picker/issues"},"dist":{"shasum":"72f9b7a13008a725a7f9ebffd3786d055d400066","tarball":"https://registry.npmjs.org/@capgo/capacitor-date-picker/-/capacitor-date-picker-8.1.7.tgz","integrity":"sha512-/2LMoKr2GkSGwQGroPEe4m/+eTv280l5l6Wu49nzq+atfWt4IHClSOH6nXnGoiUwv8xflfLhdBFUsyg9g9hygw==","fileCount":37,"unpackedSize":587000,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-date-picker@8.1.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDbvbIrcJHGeBLhcFyikhYUshJhWIdtJ3FSNZUiakdKYwIhAJ/cYUDFMhUssIjwnFzL4gg2elg+/+rihz2hqxkWU1EO"}]},"main":"dist/plugin.cjs.js","name":"@capgo/capacitor-date-picker","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"module":"dist/esm/index.js","gitHead":"c73b9b3ba368367375f01a454bd65f9907d45873","license":"MPL-2.0","scripts":{"fmt":"bun run eslint -- --fix && bun run prettier -- --write && bun run swiftlint -- --fix --format","lint":"bun run eslint && bun run prettier -- --check && bun run swiftlint -- lint","build":"bun run clean && bun run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api DatePickerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint \"**/*.ts\"","verify":"bun run verify:ios && bun run verify:android && bun run verify:web","prettier":"prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorDatePicker -destination generic/platform=iOS","verify:web":"bun run build","changelog:ai":"node scripts/generate-ai-changelog.mjs","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","example:build":"bun run build && cd example-app && bun install --frozen-lockfile && bun run build","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd ..","example:install":"cd example-app && bun install --frozen-lockfile","check:cap9-deprecated":"node scripts/check-cap9-deprecated.mjs"},"version":"8.1.7","_npmUser":{"name":"torichancapgo","email":"tori@capgo.app","approver":{"name":"torichancapgo","email":"tori@capgo.app"}},"homepage":"https://capgo.app/docs/plugins/date-picker/","keywords":["capacitor","date-picker","datetime-picker","ios","android"],"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-date-picker.git","type":"git"},"_npmVersion":"11.19.1","description":"Native Capacitor date picker for iOS, Android, and web with fixes for long-standing community issues.","directories":{},"maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"},{"name":"torichancapgo","email":"tori@capgo.app"}],"_nodeVersion":"24.20.0","devDependencies":{"husky":"^9.1.7","eslint":"^10.4.0","rimraf":"^6.1.3","rollup":"^4.60.4","prettier":"^3.8.3","swiftlint":"^2.0.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","@capacitor/cli":"^8.3.4","@capacitor/ios":"^8.3.4","@capacitor/core":"^8.3.4","@capacitor/docgen":"^0.3.1","typescript-eslint":"^8.59.4","@capacitor/android":"^8.3.4","eslint-plugin-import":"^2.32.0","prettier-plugin-java":"^2.9.2","prettier-pretty-check":"^0.2.0","@ionic/prettier-config":"^4.0.0","eslint-config-prettier":"^10.1.8","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-date-picker_8.1.7_1789497143232_0.6921405911786673"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-27T22:31:05.542Z","modified":"2026-09-15T18:32:23.658Z","8.0.0":"2026-05-27T22:31:06.290Z","8.0.1":"2026-05-27T23:14:19.708Z","8.0.2":"2026-05-27T23:58:22.381Z","8.1.7":"2026-09-15T18:32:23.360Z"},"bugs":{"url":"https://github.com/Cap-go/capacitor-date-picker/issues"},"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","homepage":"https://capgo.app/docs/plugins/date-picker/","keywords":["capacitor","date-picker","datetime-picker","ios","android"],"repository":{"url":"git+https://github.com/Cap-go/capacitor-date-picker.git","type":"git"},"description":"Native Capacitor date picker for iOS, Android, and web with fixes for long-standing community issues.","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"},{"name":"torichancapgo","email":"tori@capgo.app"}],"readme":"# @capgo/capacitor-date-picker\n\n<a href=\"https://capgo.app/\"><img src=\"https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-date-picker\" alt=\"Capgo - Instant updates for Capacitor\" /></a>\n\nNative date, time, date-time, year-month, and range picker for Capacitor 8 on iOS, Android, and web.\n\nThis is Capgo's maintained alternative to `@capacitor-community/date-picker`. The main difference is maintenance speed: we listen to community reports, fix issues fast, and ship updates instead of leaving long-standing GitHub issues open.\n\n## What We Fixed\n\n- Capacitor 8 support.\n- Web implementation with the same `present()` API.\n- Programmatic `hide()`.\n- Dialog title support.\n- iOS rotation-safe layout.\n- iOS locale handling for inline day/month labels.\n- iOS `yearAndMonth` mode.\n- No iOS force unwrap crash on invalid dates.\n- ISO, Java/Unicode, and common Moment-style formats such as `YYYY-MM-DD`.\n- Date-only timezone handling without one-day shifts.\n- iOS `min` and `max` parsing with ISO strings.\n- Android nested `android` options.\n- Android `is24h`.\n- Android dateAndTime keeps the chosen date when moving to time.\n- Android dialog width/layout handling.\n- Android UI-thread dialog handling so native dialogs open reliably from Capacitor calls.\n- Minute steps for time pickers.\n- Range selection via `presentRange()`.\n\n## Demo\n\n| iOS | Android |\n| --- | --- |\n| <img src=\"https://raw.githubusercontent.com/Cap-go/capacitor-date-picker/main/screenshots/demo/ios-date-picker-demo.webp\" alt=\"Animated iOS demo showing the native date picker opening, selecting a date, and closing\" width=\"320\" /> | <img src=\"https://raw.githubusercontent.com/Cap-go/capacitor-date-picker/main/screenshots/demo/android-date-picker-demo.webp\" alt=\"Animated Android demo showing the native date picker opening, selecting a date, and closing\" width=\"320\" /> |\n\n## Screenshots\n\n| iOS | Android |\n| --- | --- |\n| <img src=\"https://raw.githubusercontent.com/Cap-go/capacitor-date-picker/main/screenshots/ios-date-picker.png\" alt=\"iOS native date picker\" width=\"320\" /> | <img src=\"https://raw.githubusercontent.com/Cap-go/capacitor-date-picker/main/screenshots/android-date-picker.png\" alt=\"Android native date picker\" width=\"320\" /> |\n\n## Install\n\nYou can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:\n\n```bash\nnpx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins\n```\n\nThen use the following prompt:\n\n```text\nUse the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-date-picker` plugin in my project.\n```\n\nIf you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:\n\n```bash\nnpm install @capgo/capacitor-date-picker\nnpx cap sync\n```\n\n## Usage\n\n```ts\nimport { DatePicker } from '@capgo/capacitor-date-picker';\n\nconst result = await DatePicker.present({\n  mode: 'date',\n  date: '2026-05-27',\n  min: '2026-01-01',\n  max: '2026-12-31',\n  format: 'yyyy-MM-dd',\n  title: 'Select a date',\n});\n\nconsole.log(result.value);\n```\n\n```ts\nconst time = await DatePicker.present({\n  mode: 'time',\n  is24h: true,\n  minuteStep: 15,\n  format: 'HH:mm',\n});\n```\n\n```ts\nconst range = await DatePicker.presentRange({\n  start: '2026-05-01',\n  end: '2026-05-27',\n  format: 'yyyy-MM-dd',\n  startTitle: 'Start date',\n  endTitle: 'End date',\n});\n\nconsole.log(range.start, range.end);\n```\n\n## Platform Notes\n\n- iOS uses `UIDatePicker` with Auto Layout so the picker survives screen rotation.\n- Android uses platform `DatePickerDialog` and `TimePickerDialog`; range selection is two native date selections.\n- Web uses native browser inputs in a small modal wrapper.\n- `minuteStep` is rounded to a platform-supported interval on iOS.\n\n## API\n\n<docgen-index>\n\n* [`present(...)`](#present)\n* [`presentRange(...)`](#presentrange)\n* [`hide()`](#hide)\n* [`getPluginVersion()`](#getpluginversion)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### present(...)\n\n```typescript\npresent(options?: DatePickerOptions | undefined) => Promise<DatePickerResult>\n```\n\nPresent the date picker.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#datepickeroptions\">DatePickerOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#datepickerresult\">DatePickerResult</a>&gt;</code>\n\n--------------------\n\n\n### presentRange(...)\n\n```typescript\npresentRange(options?: DatePickerRangeOptions | undefined) => Promise<DatePickerRangeResult>\n```\n\nPresent a range picker. Native platforms use two native date selections;\nweb shows start and end controls in one dialog.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#datepickerrangeoptions\">DatePickerRangeOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#datepickerrangeresult\">DatePickerRangeResult</a>&gt;</code>\n\n--------------------\n\n\n### hide()\n\n```typescript\nhide() => Promise<void>\n```\n\nClose the currently visible picker, if any.\n\n--------------------\n\n\n### getPluginVersion()\n\n```typescript\ngetPluginVersion() => Promise<PluginVersionResult>\n```\n\nReturns the platform implementation version marker.\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginversionresult\">PluginVersionResult</a>&gt;</code>\n\n--------------------\n\n\n### Interfaces\n\n\n#### DatePickerResult\n\n| Prop        | Type                        | Description                                           |\n| ----------- | --------------------------- | ----------------------------------------------------- |\n| **`value`** | <code>string \\| null</code> | Formatted value. Null means the picker was dismissed. |\n\n\n#### DatePickerOptions\n\n| Prop          | Type                                                                          | Description                                                   |\n| ------------- | ----------------------------------------------------------------------------- | ------------------------------------------------------------- |\n| **`min`**     | <code>string</code>                                                           | Minimum selectable value.                                     |\n| **`max`**     | <code>string</code>                                                           | Maximum selectable value.                                     |\n| **`date`**    | <code>string</code>                                                           | Initial selected value.                                       |\n| **`ios`**     | <code><a href=\"#datepickeriosoptions\">DatePickerIosOptions</a></code>         | Platform-specific iOS options override top-level options.     |\n| **`android`** | <code><a href=\"#datepickerandroidoptions\">DatePickerAndroidOptions</a></code> | Platform-specific Android options override top-level options. |\n\n\n#### DatePickerIosOptions\n\n| Prop                    | Type                                                              | Description                                           | Default               |\n| ----------------------- | ----------------------------------------------------------------- | ----------------------------------------------------- | --------------------- |\n| **`style`**             | <code><a href=\"#datepickeriosstyle\">DatePickerIosStyle</a></code> | iOS picker style.                                     | <code>\"inline\"</code> |\n| **`titleFontColor`**    | <code>string</code>                                               |                                                       |                       |\n| **`titleBgColor`**      | <code>string</code>                                               |                                                       |                       |\n| **`bgColor`**           | <code>string</code>                                               |                                                       |                       |\n| **`fontColor`**         | <code>string</code>                                               |                                                       |                       |\n| **`buttonBgColor`**     | <code>string</code>                                               |                                                       |                       |\n| **`buttonFontColor`**   | <code>string</code>                                               |                                                       |                       |\n| **`mergedDateAndTime`** | <code>boolean</code>                                              | Show date and time in one UIDatePicker when possible. |                       |\n\n\n#### DatePickerAndroidOptions\n\n| Prop        | Type                                                        | Description                                               |\n| ----------- | ----------------------------------------------------------- | --------------------------------------------------------- |\n| **`theme`** | <code><a href=\"#datepickertheme\">DatePickerTheme</a></code> | Android dialog theme resource name or built-in theme key. |\n\n\n#### DatePickerRangeResult\n\n| Prop        | Type                        | Description                                                 |\n| ----------- | --------------------------- | ----------------------------------------------------------- |\n| **`start`** | <code>string \\| null</code> | Formatted start value. Null means the picker was dismissed. |\n| **`end`**   | <code>string \\| null</code> | Formatted end value. Null means the picker was dismissed.   |\n| **`value`** | <code>string \\| null</code> | Convenience \"start/end\" value when both dates are selected. |\n\n\n#### DatePickerRangeOptions\n\n| Prop             | Type                | Description                               |\n| ---------------- | ------------------- | ----------------------------------------- |\n| **`start`**      | <code>string</code> | Initial range start value.                |\n| **`end`**        | <code>string</code> | Initial range end value.                  |\n| **`startTitle`** | <code>string</code> | Title used while choosing the start date. |\n| **`endTitle`**   | <code>string</code> | Title used while choosing the end date.   |\n\n\n#### PluginVersionResult\n\n| Prop          | Type                |\n| ------------- | ------------------- |\n| **`version`** | <code>string</code> |\n\n\n### Type Aliases\n\n\n#### DatePickerIosStyle\n\n<code>'wheels' | 'inline' | 'compact' | 'automatic'</code>\n\n\n#### DatePickerTheme\n\n<code>'light' | 'dark' | string</code>\n\n</docgen-api>\n","readmeFilename":"README.md"}