{"_id":"@bw-ui/datepicker-mobile","_rev":"5-dff4ae37b8856c5a193c1155c1e5b723","name":"@bw-ui/datepicker-mobile","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"@bw-ui/datepicker-mobile","version":"1.0.0","license":"MIT","_id":"@bw-ui/datepicker-mobile@1.0.0","maintainers":[{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"}],"dist":{"shasum":"a710cac24d92bf52e9ecd82c67b1353e486d8889","tarball":"https://registry.npmjs.org/@bw-ui/datepicker-mobile/-/datepicker-mobile-1.0.0.tgz","fileCount":13,"integrity":"sha512-WWuzuZrdU7tDxN6TESXN7DPF+3P/BcnsrSl64sQ+u8jjKlU06kunFlHTiqp0Tmrd150LyFB6o+euu0LZrztvNA==","signatures":[{"sig":"MEYCIQCUos+d7yg2gUbSkfJc14LUWhUE0nXBCxR0LtJiVLHWjAIhAIwD+9SEdOnrfRZ0auuk/hV7IVeU2uCIwqe0ZAL/+Ukw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70972},"main":"dist/bw-mobile.min.js","type":"module","module":"dist/bw-mobile.esm.min.js","exports":{".":{"import":"./dist/bw-mobile.esm.min.js","require":"./dist/bw-mobile.min.js"},"./css":"./dist/bw-mobile.min.css"},"gitHead":"33b7c525d2e2f752ae803ca16fd2dedde2098824","scripts":{"build":"node build.js"},"_npmUser":{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"},"_npmVersion":"10.9.3","description":"Mobile plugin - Touch support, swipe gestures, orientation handling","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.0"},"peerDependencies":{"@bw-ui/datepicker":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/datepicker-mobile_1.0.0_1764344582907_0.12160485751417283","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@bw-ui/datepicker-mobile","version":"1.0.1","license":"MIT","_id":"@bw-ui/datepicker-mobile@1.0.1","maintainers":[{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"}],"dist":{"shasum":"6f2756534ff6cb08955dcdc65859c24c00215e9a","tarball":"https://registry.npmjs.org/@bw-ui/datepicker-mobile/-/datepicker-mobile-1.0.1.tgz","fileCount":4,"integrity":"sha512-IUi/O+3yWSyvLrHJDULf28DeALDyhxEJ/LswRpY1laVsQ83I/vIrZbtCB5hSxPV4Lgj9khbzU/d8gfIJbAeg/g==","signatures":[{"sig":"MEQCICMKYlnSkSfUS/Ii17/O9nAZUJYO7FwaCfLlL1lzpcDDAiBqAB4hFU+qFwcRPD5ApOHywUJXI0x5RcvPMlyaPIV82Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16730},"main":"dist/bw-mobile.min.js","type":"module","module":"dist/bw-mobile.esm.min.js","exports":{".":{"import":"./dist/bw-mobile.esm.min.js","require":"./dist/bw-mobile.min.js"},"./css":"./dist/bw-mobile.min.css"},"gitHead":"c10a0a9d099b359edb1ee36da7f8d22c9703d643","scripts":{"build":"node build.js"},"_npmUser":{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"},"_npmVersion":"10.9.3","description":"Mobile plugin - Touch support, swipe gestures, orientation handling","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.0"},"peerDependencies":{"@bw-ui/datepicker":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/datepicker-mobile_1.0.1_1764346715077_0.889404226588048","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bw-ui/datepicker-mobile","version":"1.0.2","license":"MIT","_id":"@bw-ui/datepicker-mobile@1.0.2","maintainers":[{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"}],"dist":{"shasum":"705aeb5682b71dd7dad508b3dad6f099fd94e34e","tarball":"https://registry.npmjs.org/@bw-ui/datepicker-mobile/-/datepicker-mobile-1.0.2.tgz","fileCount":5,"integrity":"sha512-bZgOyUQyuFfZT5hZ08E7ll2/Dpe3StSzhUAIci1BUxBMcI5ziI/T1g80oz9hdLkElNCjdkKshDZTps3J9qho1w==","signatures":[{"sig":"MEYCIQD986I/GS3TbYwbOYBHhe762+rxpMhVml1L54xef9TFewIhANhisoRnO++iKNnJ/EovaUpULNfwS43VRyhZ2+3dYNQf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22579},"main":"dist/bw-mobile.min.js","type":"module","types":"src/index.d.ts","module":"dist/bw-mobile.esm.min.js","exports":{".":{"import":"./dist/bw-mobile.esm.min.js","require":"./dist/bw-mobile.min.js"},"./css":"./dist/bw-mobile.min.css"},"gitHead":"40090008e522bc7c32a5f9b9da198c7954d2874d","scripts":{"build":"node build.js"},"_npmUser":{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"},"_npmVersion":"10.9.3","description":"Mobile plugin - Touch support, swipe gestures, orientation handling","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.0"},"peerDependencies":{"@bw-ui/datepicker":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/datepicker-mobile_1.0.2_1764417728399_0.05251281094776239","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@bw-ui/datepicker-mobile","version":"1.0.3","license":"MIT","_id":"@bw-ui/datepicker-mobile@1.0.3","maintainers":[{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"}],"homepage":"https://github.com/bw-ui/bw-datepicker","bugs":{"url":"https://github.com/bw-ui/bw-datepicker/issues"},"dist":{"shasum":"68457773ee484f0f09821d18ed91109a170d2850","tarball":"https://registry.npmjs.org/@bw-ui/datepicker-mobile/-/datepicker-mobile-1.0.3.tgz","fileCount":5,"integrity":"sha512-lmwjGse9GT9lEhvB3yA2M8JkRS7kHu6vDGGYJOfud5vAIqj7KtAiEQmCDiRd9/8Wm48GV9LrCnksHWS/9sWqnA==","signatures":[{"sig":"MEUCIE8rXVOInrx68Z10gcIvDhHkOvWKcurLMFWLJxv50c8cAiEA6BKqvaANblEc+loN/CxjRI0FGfhYPL5qfY4s2LmmkMY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22805},"main":"dist/bw-mobile.min.js","type":"module","types":"src/index.d.ts","module":"dist/bw-mobile.esm.min.js","exports":{".":{"import":"./dist/bw-mobile.esm.min.js","require":"./dist/bw-mobile.min.js"},"./css":"./dist/bw-mobile.min.css"},"gitHead":"40090008e522bc7c32a5f9b9da198c7954d2874d","scripts":{"build":"node build.js"},"_npmUser":{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"},"repository":{"url":"git+https://github.com/bw-ui/bw-datepicker.git","type":"git"},"_npmVersion":"10.9.3","description":"Mobile plugin - Touch support, swipe gestures, orientation handling","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.0"},"peerDependencies":{"@bw-ui/datepicker":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/datepicker-mobile_1.0.3_1764418306975_0.21036114195709454","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@bw-ui/datepicker-mobile","version":"1.1.3","description":"Mobile plugin - Touch support, swipe gestures, orientation handling","main":"dist/bw-mobile.min.js","module":"dist/bw-mobile.esm.min.js","exports":{".":{"import":"./dist/bw-mobile.esm.min.js","require":"./dist/bw-mobile.min.js"},"./css":"./dist/bw-mobile.min.css"},"types":"src/index.d.ts","scripts":{"build":"node build.js"},"peerDependencies":{"@bw-ui/datepicker":"^1.0.0"},"devDependencies":{"esbuild":"^0.20.0"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bw-ui/bw-datepicker.git"},"bugs":{"url":"https://github.com/bw-ui/bw-datepicker/issues"},"homepage":"https://github.com/bw-ui/bw-datepicker","type":"module","_id":"@bw-ui/datepicker-mobile@1.1.3","gitHead":"30d8915a21fd5e442ea3830e44532446a20dfa3c","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-UgF2O5wP7TXmyvtCSFfR7Y3HL/u0Ugjd/gI2biiNWthREGPc5b0Saew28P80JEd2l23ab8VfGOStC620E1PpGg==","shasum":"93136de912f361ea3c7d397e87b1a404e737d6f7","tarball":"https://registry.npmjs.org/@bw-ui/datepicker-mobile/-/datepicker-mobile-1.1.3.tgz","fileCount":5,"unpackedSize":22805,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC1rnMnf6dAlY9lDy3zbZgvUiOUUH7b/yjAgLH5mIkgtAIhAMiMBSFBFJhxhoXRilcrPZ72qtxbwpKsT5bY0OylQ5ku"}]},"_npmUser":{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"},"directories":{},"maintainers":[{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/datepicker-mobile_1.1.3_1764510912465_0.543755628430636"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-28T15:43:02.825Z","modified":"2025-11-30T13:55:12.863Z","1.0.0":"2025-11-28T15:43:03.124Z","1.0.1":"2025-11-28T16:18:35.270Z","1.0.2":"2025-11-29T12:02:08.624Z","1.0.3":"2025-11-29T12:11:47.172Z","1.1.3":"2025-11-30T13:55:12.687Z"},"bugs":{"url":"https://github.com/bw-ui/bw-datepicker/issues"},"license":"MIT","homepage":"https://github.com/bw-ui/bw-datepicker","repository":{"type":"git","url":"git+https://github.com/bw-ui/bw-datepicker.git"},"description":"Mobile plugin - Touch support, swipe gestures, orientation handling","maintainers":[{"name":"rchoudhary.dev","email":"rchoudhary.dev@gmail.com"}],"readme":"# @bw-ui/datepicker-mobile\r\n\r\nMobile plugin for BW DatePicker - Touch support, swipe gestures, and orientation handling.\r\n\r\n![Version](https://img.shields.io/npm/v/@bw-ui/datepicker-mobile)\r\n![License](https://img.shields.io/npm/l/@bw-ui/datepicker-mobile)\r\n![Size](https://img.shields.io/bundlephobia/minzip/@bw-ui/datepicker-mobile)\r\n\r\n[Live Demo](https://bw-ui.github.io/bw-datepicker) • [Documentation](https://www.npmjs.com/package/@bw-ui/datepicker-mobile) • [Core Package](https://www.npmjs.com/package/@bw-ui/datepicker)\r\n\r\n## ✨ Features\r\n\r\n- 👆 **Touch Support** - Native touch event handling\r\n- 👈👉 **Swipe Gestures** - Swipe left/right for month navigation\r\n- 🔄 **Orientation Handling** - Adapts to portrait/landscape\r\n- 📱 **Mobile Detection** - Auto-detect mobile devices\r\n- ✨ **Touch Feedback** - Visual feedback on touch\r\n\r\n## 📦 Installation\r\n\r\n```bash\r\nnpm install @bw-ui/datepicker @bw-ui/datepicker-mobile\r\n```\r\n\r\n> ⚠️ **Peer Dependency:** Requires `@bw-ui/datepicker` core package\r\n\r\n## 🚀 Quick Start\r\n\r\n### ES Modules\r\n\r\n```javascript\r\nimport { BWDatePicker } from '@bw-ui/datepicker';\r\nimport { MobilePlugin } from '@bw-ui/datepicker-mobile';\r\n\r\nconst picker = new BWDatePicker('#date-input', {\r\n  mode: 'popup',\r\n}).use(BWMobile.MobilePlugin);\r\n```\r\n\r\n### CDN\r\n\r\n```html\r\n<link\r\n  rel=\"stylesheet\"\r\n  href=\"https://unpkg.com/@bw-ui/datepicker/dist/bw-datepicker.min.css\"\r\n/>\r\n<link\r\n  rel=\"stylesheet\"\r\n  href=\"https://unpkg.com/@bw-ui/datepicker-mobile/dist/bw-mobile.min.css\"\r\n/>\r\n\r\n<script src=\"https://unpkg.com/@bw-ui/datepicker/dist/bw-datepicker.min.js\"></script>\r\n<script src=\"https://unpkg.com/@bw-ui/datepicker-mobile/dist/bw-mobile.min.js\"></script>\r\n\r\n<script>\r\n  const picker = new BW.BWDatePicker('#date-input').use(BWMobile.MobilePlugin);\r\n</script>\r\n```\r\n\r\n## ⚙️ Options\r\n\r\n```javascript\r\n.use(BWMobile.MobilePlugin, {\r\n  enableTouch: true,\r\n  enableSwipe: true,\r\n  swipeThreshold: 50,\r\n  touchFeedback: true,\r\n  enableOrientationChange: true,\r\n})\r\n```\r\n\r\n### Options Reference\r\n\r\n| Option                    | Type      | Default | Values                   | Description                       |\r\n| ------------------------- | --------- | ------- | ------------------------ | --------------------------------- |\r\n| `enableTouch`             | `boolean` | `true`  | `true`, `false`          | Enable touch event handling       |\r\n| `enableSwipe`             | `boolean` | `true`  | `true`, `false`          | Enable swipe gestures             |\r\n| `swipeThreshold`          | `number`  | `50`    | Any positive number (px) | Minimum swipe distance to trigger |\r\n| `touchFeedback`           | `boolean` | `true`  | `true`, `false`          | Visual feedback on touch          |\r\n| `enableOrientationChange` | `boolean` | `true`  | `true`, `false`          | Handle orientation changes        |\r\n\r\n## 👆 Swipe Gestures\r\n\r\n| Gesture     | Action         |\r\n| ----------- | -------------- |\r\n| Swipe Left  | Next month     |\r\n| Swipe Right | Previous month |\r\n\r\n## 📖 Examples\r\n\r\n### Basic Usage\r\n\r\n```javascript\r\n.use(BWMobile.MobilePlugin)\r\n// All features enabled by default\r\n```\r\n\r\n### Disable Swipe\r\n\r\n```javascript\r\n.use(BWMobile.MobilePlugin, {\r\n  enableSwipe: false\r\n})\r\n```\r\n\r\n### Custom Swipe Sensitivity\r\n\r\n```javascript\r\n.use(BWMobile.MobilePlugin, {\r\n  swipeThreshold: 100  // Requires longer swipe\r\n})\r\n```\r\n\r\n### Disable Touch Feedback\r\n\r\n```javascript\r\n.use(BWMobile.MobilePlugin, {\r\n  touchFeedback: false\r\n})\r\n```\r\n\r\n### Touch Only (No Swipe)\r\n\r\n```javascript\r\n.use(BWMobile.MobilePlugin, {\r\n  enableTouch: true,\r\n  enableSwipe: false\r\n})\r\n```\r\n\r\n## 🔌 Combining with Other Plugins\r\n\r\n```javascript\r\nimport { BWDatePicker } from '@bw-ui/datepicker';\r\nimport { ThemingPlugin } from '@bw-ui/datepicker-theming';\r\nimport { MobilePlugin } from '@bw-ui/datepicker-mobile';\r\n\r\nconst picker = new BWDatePicker('#date-input')\r\n  .use(ThemingPlugin, { theme: 'dark' })\r\n  .use(BWMobile.MobilePlugin);\r\n```\r\n\r\n## 📁 What's Included\r\n\r\n```\r\ndist/\r\n├── bw-mobile.min.js      # IIFE build (for <script>)\r\n├── bw-mobile.esm.min.js  # ESM build (for import)\r\n└── bw-mobile.min.css     # Mobile styles\r\n```\r\n\r\n## 🔗 Related Packages\r\n\r\n| Package                                                                                          | Description      |\r\n| ------------------------------------------------------------------------------------------------ | ---------------- |\r\n| [@bw-ui/datepicker](https://www.npmjs.com/package/@bw-ui/datepicker)                             | Core (required)  |\r\n| [@bw-ui/datepicker-theming](https://www.npmjs.com/package/@bw-ui/datepicker-theming)             | Dark mode        |\r\n| [@bw-ui/datepicker-accessibility](https://www.npmjs.com/package/@bw-ui/datepicker-accessibility) | Keyboard nav     |\r\n| [@bw-ui/datepicker-positioning](https://www.npmjs.com/package/@bw-ui/datepicker-positioning)     | Auto-positioning |\r\n| [@bw-ui/datepicker-input-handler](https://www.npmjs.com/package/@bw-ui/datepicker-input-handler) | Input masking    |\r\n| [@bw-ui/datepicker-date-utils](https://www.npmjs.com/package/@bw-ui/datepicker-date-utils)       | Date utilities   |\r\n\r\n## 📄 License\r\n\r\nMIT © [BW UI](https://github.com/bw-ui)\r\n\r\n## 🐛 Issues\r\n\r\nFound a bug? [Report it here](https://github.com/bw-ui/bw-datepicker/issues)\r\n","readmeFilename":"README.md"}