{"_id":"app-datepicker","_rev":"119-480190dfcb5aecbed972a8d305ad343c","name":"app-datepicker","dist-tags":{"latest":"5.1.1","next":"6.0.0-rc.33"},"versions":{"3.0.0-alpha.0":{"name":"app-datepicker","version":"3.0.0-alpha.0","description":"A datepicker element based on Google's Material Design built from scratch with Polymer","keywords":["cal","calendar","date","date-picker","datepicker","picker","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"app-datepicker.js","scripts":{"document":"polymer analyze > analysis.json","test":"polymer test --module-resolution=node --npm","testkeep":"polymer test -p --expanded --module-resolution=node --npm"},"dependencies":{"@polymer/iron-iconset-svg":"^3.0.1","@polymer/iron-list":"^3.0.1","@polymer/iron-selector":"^3.0.1","@polymer/neon-animation":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-dialog-behavior":"^3.0.1","@polymer/paper-icon-button":"^3.0.1","@polymer/polymer":"^3.1.0","web-animations-js":"^2.3.1"},"devDependencies":{"@polymer/iron-component-page":"^4.0.1","@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-test-helpers":"^3.0.1","@polymer/iron-validator-behavior":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-checkbox":"^3.1.0","@polymer/paper-dialog":"^3.0.1","@polymer/paper-input":"^3.0.1","@webcomponents/webcomponentsjs":"^2.2.1","intl":"^1.2.5","polymer-cli":"^1.9.1","wct-browser-legacy":"^1.0.2","web-animations-js":"^2.3.1","whatwg-fetch":"^3.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"ff2ea096bc6be93ba54c0520f6b9122f6bd1c5ab","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@3.0.0-alpha.0","_npmVersion":"6.4.1","_nodeVersion":"8.9.4","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-oHCi0ij/DY7GnFuK4ZBOWVyLOzw1h0Yg0m2GjF72Wego0AYWpPoqSxKCfZFGuFVFsHl9/7k2vOTy9ilrNCabSw==","shasum":"364b937fbc9b71e09575612e6a2c64b0b0fa3c57","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-3.0.0-alpha.0.tgz","fileCount":14,"unpackedSize":120083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBnyHCRA9TVsSAnZWagAAYJ0P/2ayzsZfguq+qxyIDKsu\npckO0//zfyV6okomkRxnJRX2YGFAC68z2OlUfcbfrFY8o3dv1/l41QMihuth\nxgzOgTigAgs6Y2SkJj3JFJGZ2y+MTp5mboPdHsg+jZo6hpQAGRraPWH71lxj\nmrghhQhaP/AQ5IXMboPGRNnGmku8d5nLItTSqnm2Vnxi7MtSVa09btTyuBMk\nPrZuYKqwxJDg37/ag7fKwBp6LXsUUCyv1jjtmFoCCoSq+j6z33o8OoA8yuGx\nsIznxI6iLy7aF/dx05SZhcZqx/iJstWS5IHgUBlDTUN9Y9eHM4n5sQ0m6Ecs\nON6PJ0cMkjWPpHrmM3DQY7ri8kvejfgrXjPa3K5UXnY7d6jSi0m/3xrEaEaI\nN6mezpEt5cdn9pLtjdsyhFHNMTe1JFnqoNR7mjHdT3eSqhzZdeQW8/w9BATJ\nuJ/4sjgkZhNF+g3Fqha0OEAesiy4uSMz04KT7TIekqVlPt5Ny/eIw6RWDTZG\nCZkt6Ox4q6tyi79sU5yHT/XUwhAcgi31gm80AZWLq9RfGUCI3y2ISd/0LcWx\nrQyiZHGPuSzbA6XJZ/cZHm37Q73GVH9Pe9zBdktf9so6tpF3lyFdQWA9Qgcg\nOjpbaXTF3dSNpW/3qatMW85ABBgsKPuR4SE7Eog2rKmaXKx1YhJyS0tRPVhl\nc2jf\r\n=QW26\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4PGZ+XfxPts4RhegZtdL7ckDJ9HM+w4819CbN1yd0OAIgROc30mLw4rMopg6bMvEVt5Nl7dq7Vn4xHZ9hsCIEKAo="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_3.0.0-alpha.0_1543928966984_0.3788802455759308"},"_hasShrinkwrap":false},"3.0.0":{"name":"app-datepicker","version":"3.0.0","description":"A datepicker element based on Google's Material Design built from scratch with Polymer","keywords":["cal","calendar","date","date-picker","datepicker","picker","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"app-datepicker.js","scripts":{"document":"polymer analyze > analysis.json","test":"polymer test --module-resolution=node --npm","testkeep":"polymer test -p --expanded --module-resolution=node --npm"},"dependencies":{"@polymer/iron-iconset-svg":"^3.0.1","@polymer/iron-list":"^3.0.1","@polymer/iron-selector":"^3.0.1","@polymer/neon-animation":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-dialog-behavior":"^3.0.1","@polymer/paper-icon-button":"^3.0.1","@polymer/polymer":"^3.1.0","web-animations-js":"^2.3.1"},"devDependencies":{"@polymer/iron-component-page":"^4.0.1","@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-test-helpers":"^3.0.1","@polymer/iron-validator-behavior":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-checkbox":"^3.1.0","@polymer/paper-dialog":"^3.0.1","@polymer/paper-input":"^3.0.1","@webcomponents/webcomponentsjs":"^2.2.1","intl":"^1.2.5","wct-browser-legacy":"^1.0.2","web-animations-js":"^2.3.1","whatwg-fetch":"^3.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"735e088b62fc1a6454421e01c1f4013f8c4337e4","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@3.0.0","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-VbRBseIdODKuwra0OfrGv9yND4ouTeY2CDs29CujKm6GZPD+kfFDdT5ltIwdKTROxevv2HYmBEGgaUd2tkrsNA==","shasum":"35251f2075e20458769eb81a6e66fba0d43e9289","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-3.0.0.tgz","fileCount":14,"unpackedSize":120046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJOWECRA9TVsSAnZWagAAdbEP/RHNU6gqllidno0lhB/H\nTLapTHGvgI35afYuRdGBT0SS1xJZWcA2IsVp1yFctJVadobLbYSgkcWuJhl+\nyCoXDbo5CXZ8InEOLbdKO92zoqPC7SKuvSC+4ediPA4ZxA5eRkfiikzcGegg\n0oVTy+07pmGyNyoT9PQmThWCcqqaD16xNYjKzN4x/YRCZNHW80Yyf/mmhH5X\nYyxauIHewx5wZCKgEtQQYiK+3Rj3XnYqcNfNdn2nRM7xOjF9RUDY18k9esF0\ndJxS2uA0gGGVOoMIwcB42pHRmuGpNkP6lbV/6rJp9CPUkYBCIvd0zgtxgT78\nh5kjXK1BXut+SCuarMvDOWtsuhdQtRYiZdqlFkleTbgCNHGi9P89CI+z2WfP\nx1tn0ho6lAGMEvLd6USFJHwQGgPfxZ376yppB5PLvbGJw+iTrNADyJKLyAI1\nuDIQXPv/eGCFEXwg8tPLrht0mKit6nUvfB9Wm9cJLiMFmf4ujwPgEUnYuF2G\nTQF7mdyCgU2oRIHcb6zL0B0mtJ/aFNPOh9yeqC0zII2x+9V2u5rIZGJviiOE\nUuspdIXUulaNLseteaaO+YQCQxcoPdcuqIx74xMtz/GAEZMIKcR8bwwGXaXx\nDnQLwJVRAGvDazi173SYKNusdJCm8WaedFGSy4eBs+w0cczIr21DaILH48ga\nF8Om\r\n=/g9n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4mgk11FW/nRY9VGLVHIr3IBj0ZkQDt5zWcBUrdYz1iAIgY7MWZlV0sdKSKQ8nDPeD3oV2QQIHuVV8EVuIT1rQr18="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_3.0.0_1545921923296_0.23659618588974562"},"_hasShrinkwrap":false},"4.0.0-rc.1":{"name":"app-datepicker","version":"4.0.0-rc.1","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"app-datepicker.js","module":"app-datepicker.js","scripts":{"document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --module-resolution=node --npm","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc -p tsconfig.json","watch":"npm run -- --watch"},"dependencies":{"@material/mwc-button":"^0.3.5","lit-element":"^2.0.0-rc.2","lit-html":"^1.0.0-rc.2"},"devDependencies":{"@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.5","@types/node":"^10.12.18","@webcomponents/webcomponentsjs":"^2.2.3","chai":"^4.2.0","mocha":"^5.2.0","tslint":"^5.12.1","typescript":"^3.2.2","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Material Design datepicker built with Polymer 3</p>\n</div>\n\n<hr />\n\n[![GitHub version](https://badge.fury.io/gh/motss%2Fapp-datepicker.svg)](http://badge.fury.io/gh/motss%2Fapp-datepicker)\n[![Build Status](https://travis-ci.org/motss/app-datepicker.svg?branch=master)](https://travis-ci.org/motss/app-datepicker)\n[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/motssapp-datepicker)\n[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/motssapp-datepicker.svg)](https://vaadin.com/directory/component/motssapp-datepicker)\n\n![img-app-datepicker](https://cloud.githubusercontent.com/assets/10607759/26274668/48b75cce-3d81-11e7-81aa-b79ab9b90d36.png)\n\n<!-- ![light-themed-app-datepicker-landscape](https://cloud.githubusercontent.com/assets/10607759/10119266/ce6d5b0e-64c3-11e5-843d-1310de755315.png)\n![dark-themed-app-datepicker-portrait](https://cloud.githubusercontent.com/assets/10607759/10119265/c9ad900c-64c3-11e5-937e-338a770eebea.png) -->\n<!-- ![app-datepicker-landscape](https://cloud.githubusercontent.com/assets/10607759/9871233/c9e33d04-5bc4-11e5-8af9-d93d080d8815.PNG) -->\n<!-- ![app-datepicker-portrait](https://cloud.githubusercontent.com/assets/10607759/9871234/cacf33c6-5bc4-11e5-833a-96cbd3dbf440.PNG) -->\n<!-- ![dark-themed-app-datepicker](https://cloud.githubusercontent.com/assets/10607759/10106751/1bec71c0-63e9-11e5-93f2-ee197d2ba0f2.png) -->\n\nSee the [component page](http://motss.github.io/app-datepicker/components/app-datepicker/) for more information.\n\n## Update (v3.0.0) - Breaking changes\n\n- **Upgraded to Polymer 3 stable.**\n- **Moved to NPM.**\n- Recommended to include the Intl polyfill and web-animations-js polyfill at the top document level.\n\n  ```html\n  <app-datepicker></app-datepicker>\n  <app-datepicker view=\"horizontal\"></app-datepicker>\n  <app-datepicker theme=\"dark-theme\"></app-datepicker>\n  <app-datepicker-dialog modal></app-datepicker-dialog>\n  <app-datepicker-dialog with-backdrop></app-datepicker-dialog>\n  <app-datepicker-dialog></app-datepicker-dialog>\n  ```\n\n`app-datepicker` provides a regular datepicker element.\nWhile `app-datepicker-dialog` has a `app-datepicker` being wrapped inside a dialog.\n\n~~## ( Coming soon!) Generating your own boilerplate code of the compounds~~\n~~At the end of the demo, there is a section where user can play around with to generate your own boilerplate code with the attributes provided.~~\n\n## Styling\n\nNow with mixins, head over to the [component page](http://motss.github.io/app-datepicker/components/app-datepicker/) for more details.\n\n## Getting Started\n\n1. Install with npm.\n\n    ```sh\n    $ npm i app-datepicker\n    ```\n\n2. (Optional) Load the dependencies and the [Intl][intl-polyfill-url] and [web-animations-js][web-animations-js-polyfill-url] polyfills on unsupported browsers:\n\n    ```html\n    <script src=\"https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations-next.min.js\"></script>\n    <script src=\"https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale\"></script>\n    ```\n\n3. Load element in HTML or JS.\n\n    ```html\n    <!-- In HTML, load with script[type=module], either `app-datepicker` -->\n    <script type=\"module\" href=\"/node_modules/app-datepicker/app-datepicker.js\"></script>\n\n    <!-- or, `app-datepicker-dialog` -->\n    <!-- <script type=\"module\" src=\"/node_modules/app-datepicker/app-datepicker-dialog.js\"></script> -->\n    ```\n\n    ```js\n    // Alternatively, loading element in JavaScript.\n    ...\n    import 'app-datepicker/app-datepicker.js';\n    ...\n    ```\n\n## Browser Support\n\n### `app-datepicker` and `app-datepicker-dialog`:\n\nSame as that of [Polymer 3][polymer-3-browser-support-url].\n\n\n### [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)\n\nECMAScript Internationalization API for `locale`. For more details please visit [Can I use... Intl?](http://caniuse.com/#search=intl):\n\n| ![Internet Explorer](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/internet-explorer/internet-explorer_48x48.png) | ![Microsoft Edge](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/edge/edge_48x48.png) | ![Mozilla Firefox](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/firefox/firefox_48x48.png) ![Mozilla Firefox Developer Edition](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/firefox-developer-edition/firefox-developer-edition_48x48.png) | ![Google Chrome](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/chrome/chrome_48x48.png) ![Google Chrome Canary](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/archive/chrome-canary_19-48/chrome-canary_19-48_48x48.png) | ![Opera](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/opera/opera_48x48.png) ![Opera Developer Edition](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/opera-developer/opera-developer_48x48.png) | ![Safari](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/safari/safari_48x48.png) ![Safari Technology Preview](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/safari-technology-preview/safari-technology-preview_48x48.png)\n| --- | --- | --- | --- | --- | --- |\n| 11 | 12+ | latest | latest | latest | 10+ **\n\n___** [Intl Polyfill for unsupported browsers](intl-polyfill-url)___\n\n## Throughput\n\n[![Throughput Graph](https://graphs.waffle.io/motss/app-datepicker/throughput.svg)](https://waffle.io/motss/app-datepicker/metrics/throughput)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n[intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js\n[web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js\n[polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers\n","readmeFilename":"README.md","gitHead":"6c011c9bc83fe61432ec04b3b5f5232e94f33964","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-wKdLf62tqJObBxzuHwjQO1/jnxQiNZ5EANpvxrwVegS9B3WJe18rBaW5oJ5CAP/U433ESKBP/W1MoofEVubXeg==","shasum":"a9fdceefe5891d303504f37ec8932dffe2e729b7","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.1.tgz","fileCount":17,"unpackedSize":74261,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOXVXCRA9TVsSAnZWagAAsE0QAJnbCBXRFgaSdM7jq8Rg\nlQwg16auTTXouZkYQNkqyN/OVJ4oOyAC04KhBgbE7hkzXAaf7N1j9Ecm7mYL\ndm8Iw603BinYScYq/kZ4iLoZfZpTumoyOnYqbh4GP4bmKOOtkYrVOn6Jve32\nhzslDDFOB0JnqgRBNaWWUaad4GQGH0RNdW32SfZN5/VMz2X2H2LQTgg7jibM\nxoGG9McqNSR+JhUoXil0R+g/bR+RqIpfMZkaCtqua7EuvnvLxqvhyYW3c9n3\nHrdDrlHoc/MAaIHiv8jx5xVXpYa3j/wrLroVL3fEgxcoIKJCUO6vyMcYh1A6\n0vC5Yht4dtldIei1gIWxDVRoXQbSyeVIdSfqND4iU8kQDAcjSUAy4MGyqEpB\nHcjIhsaBACLn5Id/36jVLFJEjV+7JhmdHAQwKjim6EET+pCiQeaByd8c9NfE\ndtHtiGSGKuduqzAqYtABpkAZc4buWFmBSvs+JpOWLnhb+OElbDL5K6sYC8pR\n/xoskQhnUbrQs2/WUo3R37DdeVkli6zqTqi6JhUGy1tWAiWozieaVBSElwom\nU3BjXI+yQMoCripmCwue7WFk0W69zJK3FXqdcAZ8BS8m77gkhqXgTL7zQsbY\nwVOZsf9RkwEFOGdbP4Yr9xxC+5dYEV+5ViZgK2qBHubC/9JJlx4Nincz3OMd\nXBXf\r\n=ShQa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmi2cNpRVw/TJ4QqhR+inedrE5fZODrUDML697tq80hwIgZp8Gi1fiPWhdbELZMsNTWnmpvz93J+Tn47gnlm/IUDs="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.1_1547269463103_0.3073968759166994"},"_hasShrinkwrap":false},"4.0.0-rc.2":{"name":"app-datepicker","version":"4.0.0-rc.2","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","scripts":{"document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --module-resolution=node --npm","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc -p tsconfig.json","watch":"npm run -- --watch"},"dependencies":{"@material/mwc-button":"^0.3.5","lit-element":"^2.0.0-rc.2","lit-html":"^1.0.0-rc.2"},"devDependencies":{"@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.5","@types/node":"^10.12.18","@webcomponents/webcomponentsjs":"^2.2.3","chai":"^4.2.0","mocha":"^5.2.0","tslint":"^5.12.1","typescript":"^3.2.2","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Material Design datepicker built with Polymer 3</p>\n</div>\n\n<hr />\n\n[![GitHub version](https://badge.fury.io/gh/motss%2Fapp-datepicker.svg)](http://badge.fury.io/gh/motss%2Fapp-datepicker)\n[![Build Status](https://travis-ci.org/motss/app-datepicker.svg?branch=master)](https://travis-ci.org/motss/app-datepicker)\n[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/motssapp-datepicker)\n[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/motssapp-datepicker.svg)](https://vaadin.com/directory/component/motssapp-datepicker)\n\n![img-app-datepicker](https://cloud.githubusercontent.com/assets/10607759/26274668/48b75cce-3d81-11e7-81aa-b79ab9b90d36.png)\n\n<!-- ![light-themed-app-datepicker-landscape](https://cloud.githubusercontent.com/assets/10607759/10119266/ce6d5b0e-64c3-11e5-843d-1310de755315.png)\n![dark-themed-app-datepicker-portrait](https://cloud.githubusercontent.com/assets/10607759/10119265/c9ad900c-64c3-11e5-937e-338a770eebea.png) -->\n<!-- ![app-datepicker-landscape](https://cloud.githubusercontent.com/assets/10607759/9871233/c9e33d04-5bc4-11e5-8af9-d93d080d8815.PNG) -->\n<!-- ![app-datepicker-portrait](https://cloud.githubusercontent.com/assets/10607759/9871234/cacf33c6-5bc4-11e5-833a-96cbd3dbf440.PNG) -->\n<!-- ![dark-themed-app-datepicker](https://cloud.githubusercontent.com/assets/10607759/10106751/1bec71c0-63e9-11e5-93f2-ee197d2ba0f2.png) -->\n\nSee the [component page](http://motss.github.io/app-datepicker/components/app-datepicker/) for more information.\n\n## Update (v3.0.0) - Breaking changes\n\n- **Upgraded to Polymer 3 stable.**\n- **Moved to NPM.**\n- Recommended to include the Intl polyfill and web-animations-js polyfill at the top document level.\n\n  ```html\n  <app-datepicker></app-datepicker>\n  <app-datepicker view=\"horizontal\"></app-datepicker>\n  <app-datepicker theme=\"dark-theme\"></app-datepicker>\n  <app-datepicker-dialog modal></app-datepicker-dialog>\n  <app-datepicker-dialog with-backdrop></app-datepicker-dialog>\n  <app-datepicker-dialog></app-datepicker-dialog>\n  ```\n\n`app-datepicker` provides a regular datepicker element.\nWhile `app-datepicker-dialog` has a `app-datepicker` being wrapped inside a dialog.\n\n~~## ( Coming soon!) Generating your own boilerplate code of the compounds~~\n~~At the end of the demo, there is a section where user can play around with to generate your own boilerplate code with the attributes provided.~~\n\n## Styling\n\nNow with mixins, head over to the [component page](http://motss.github.io/app-datepicker/components/app-datepicker/) for more details.\n\n## Getting Started\n\n1. Install with npm.\n\n    ```sh\n    $ npm i app-datepicker\n    ```\n\n2. (Optional) Load the dependencies and the [Intl][intl-polyfill-url] and [web-animations-js][web-animations-js-polyfill-url] polyfills on unsupported browsers:\n\n    ```html\n    <script src=\"https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations-next.min.js\"></script>\n    <script src=\"https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale\"></script>\n    ```\n\n3. Load element in HTML or JS.\n\n    ```html\n    <!-- In HTML, load with script[type=module], either `app-datepicker` -->\n    <script type=\"module\" href=\"/node_modules/app-datepicker/app-datepicker.js\"></script>\n\n    <!-- or, `app-datepicker-dialog` -->\n    <!-- <script type=\"module\" src=\"/node_modules/app-datepicker/app-datepicker-dialog.js\"></script> -->\n    ```\n\n    ```js\n    // Alternatively, loading element in JavaScript.\n    ...\n    import 'app-datepicker/app-datepicker.js';\n    ...\n    ```\n\n## Browser Support\n\n### `app-datepicker` and `app-datepicker-dialog`:\n\nSame as that of [Polymer 3][polymer-3-browser-support-url].\n\n\n### [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)\n\nECMAScript Internationalization API for `locale`. For more details please visit [Can I use... Intl?](http://caniuse.com/#search=intl):\n\n| ![Internet Explorer](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/internet-explorer/internet-explorer_48x48.png) | ![Microsoft Edge](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/edge/edge_48x48.png) | ![Mozilla Firefox](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/firefox/firefox_48x48.png) ![Mozilla Firefox Developer Edition](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/firefox-developer-edition/firefox-developer-edition_48x48.png) | ![Google Chrome](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/chrome/chrome_48x48.png) ![Google Chrome Canary](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/archive/chrome-canary_19-48/chrome-canary_19-48_48x48.png) | ![Opera](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/opera/opera_48x48.png) ![Opera Developer Edition](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/opera-developer/opera-developer_48x48.png) | ![Safari](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/safari/safari_48x48.png) ![Safari Technology Preview](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/safari-technology-preview/safari-technology-preview_48x48.png)\n| --- | --- | --- | --- | --- | --- |\n| 11 | 12+ | latest | latest | latest | 10+ **\n\n___** [Intl Polyfill for unsupported browsers](intl-polyfill-url)___\n\n## Throughput\n\n[![Throughput Graph](https://graphs.waffle.io/motss/app-datepicker/throughput.svg)](https://waffle.io/motss/app-datepicker/metrics/throughput)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n[intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js\n[web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js\n[polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers\n","readmeFilename":"README.md","gitHead":"74c768b76d57db55e3693d2810f494cb9c34d787","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.2","_npmVersion":"6.5.0-next.0","_nodeVersion":"11.6.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-qhbj/Zt7VSq6h4Q2LnVBk06xKSE4+hIjgv9UaU9aZaF5hvbX3vdvv192HQTLvGYmP+kEQyu7JKO0q1z7UPU8yQ==","shasum":"213ae5fec35c7bddbc1587cde021bc9d298890e0","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.2.tgz","fileCount":17,"unpackedSize":74271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOXbyCRA9TVsSAnZWagAAFsEP/je2hOtmVd9eLGVlvkTd\nm6O7klEDNYZjaGmWbz3Z68l9QtANle7Bf/Bnb55i33vUUARq8y/Ibq+/XGbg\n/mvFnmF33bSlxm08JD1Z9gZAIuaqWBjsjmIFgAjmdCN87jpvYlPwfZ4WmhTe\ndUU1hFeDHt40yGrV3WqKdU68igOj2KnLvjZ65WqHmUusItPFsCleG4xdxEHk\n1cAlLywxDyNK4LnIsUiZu8QOu1GPMNEjxMrXyMWc7OrESKwRGS/g+C+mCjO2\nYbhEVOho7uNhnvLdGhcJ9ZpuDwXCLIYGRJr7tFv2lATIB8baNLJUHILtTuAF\n9i8AS9URExB3UPwjPTmesJstVSbpoNgdbTceH3RYLFiOtFKcm3EqqEdhBHUS\nf8jwwURB8skWIt9zI9AUHv7Bs++RmqUchM+G69YOmbIqASlswoJVGKgIlYId\nNXdKyf1iiyZylempThhlBa6iGX7s4wVYzdB7o4l7znBu9qJh6XS62+jTrXmp\negDxSSEjV1GP1ulqn3ePabGlXNrCqnYpgvmO3KEpi+rlqeTKDUakY3loV4cS\nesORiL/Hioi0NKpYRIIURvN/jk6PXQGLondZVRp8+S1pYmF2kaNyyVir8+7W\nXiBEoidPSd2ONhEBvMMwTcQw0o0g6G9oSOU1GG3cQD2akzcjZ64IOahmoyNk\nQ6sR\r\n=U2YI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXDh1lfiej7RZuAZfuXmO5UVjI3XHfsm5g/yKx9ibiYAIgFVoHgTKWsPLL7lmq4c0yBVXcOfbeayEyEUI6sinSOvg="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.2_1547269874359_0.686878221309384"},"_hasShrinkwrap":false},"4.0.0-rc.4":{"name":"app-datepicker","version":"4.0.0-rc.4","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","scripts":{"build:test":"rm -rf dist/ && tsc -p tsconfig.test.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run build:test && wct --skip-selenium-install","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc -p tsconfig.json","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.3.5","@types/mocha":"^5.2.5","lit-element":"^2.0.0-rc.3","lit-html":"^1.0.0-rc.2"},"devDependencies":{"@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/node":"^10.12.18","@webcomponents/webcomponentsjs":"^2.2.4","chai":"^4.2.0","mocha":"^5.2.0","tslint":"^5.12.1","typescript":"^3.2.4","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Material Design datepicker built with Polymer 3</p>\n</div>\n\n<hr />\n\n[![GitHub version](https://badge.fury.io/gh/motss%2Fapp-datepicker.svg)](http://badge.fury.io/gh/motss%2Fapp-datepicker)\n[![Build Status](https://travis-ci.org/motss/app-datepicker.svg?branch=master)](https://travis-ci.org/motss/app-datepicker)\n[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/motssapp-datepicker)\n[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/motssapp-datepicker.svg)](https://vaadin.com/directory/component/motssapp-datepicker)\n\n![img-app-datepicker](https://cloud.githubusercontent.com/assets/10607759/26274668/48b75cce-3d81-11e7-81aa-b79ab9b90d36.png)\n\n<!-- ![light-themed-app-datepicker-landscape](https://cloud.githubusercontent.com/assets/10607759/10119266/ce6d5b0e-64c3-11e5-843d-1310de755315.png)\n![dark-themed-app-datepicker-portrait](https://cloud.githubusercontent.com/assets/10607759/10119265/c9ad900c-64c3-11e5-937e-338a770eebea.png) -->\n<!-- ![app-datepicker-landscape](https://cloud.githubusercontent.com/assets/10607759/9871233/c9e33d04-5bc4-11e5-8af9-d93d080d8815.PNG) -->\n<!-- ![app-datepicker-portrait](https://cloud.githubusercontent.com/assets/10607759/9871234/cacf33c6-5bc4-11e5-833a-96cbd3dbf440.PNG) -->\n<!-- ![dark-themed-app-datepicker](https://cloud.githubusercontent.com/assets/10607759/10106751/1bec71c0-63e9-11e5-93f2-ee197d2ba0f2.png) -->\n\nSee the [component page](http://motss.github.io/app-datepicker/components/app-datepicker/) for more information.\n\n## Update (v3.0.0) - Breaking changes\n\n- **Upgraded to Polymer 3 stable.**\n- **Moved to NPM.**\n- Recommended to include the Intl polyfill and web-animations-js polyfill at the top document level.\n\n  ```html\n  <app-datepicker></app-datepicker>\n  <app-datepicker view=\"horizontal\"></app-datepicker>\n  <app-datepicker theme=\"dark-theme\"></app-datepicker>\n  <app-datepicker-dialog modal></app-datepicker-dialog>\n  <app-datepicker-dialog with-backdrop></app-datepicker-dialog>\n  <app-datepicker-dialog></app-datepicker-dialog>\n  ```\n\n`app-datepicker` provides a regular datepicker element.\nWhile `app-datepicker-dialog` has a `app-datepicker` being wrapped inside a dialog.\n\n~~## ( Coming soon!) Generating your own boilerplate code of the compounds~~\n~~At the end of the demo, there is a section where user can play around with to generate your own boilerplate code with the attributes provided.~~\n\n## Styling\n\nNow with mixins, head over to the [component page](http://motss.github.io/app-datepicker/components/app-datepicker/) for more details.\n\n## Getting Started\n\n1. Install with npm.\n\n    ```sh\n    $ npm i app-datepicker\n    ```\n\n2. (Optional) Load the dependencies and the [Intl][intl-polyfill-url] and [web-animations-js][web-animations-js-polyfill-url] polyfills on unsupported browsers:\n\n    ```html\n    <script src=\"https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations-next.min.js\"></script>\n    <script src=\"https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale\"></script>\n    ```\n\n3. Load element in HTML or JS.\n\n    ```html\n    <!-- In HTML, load with script[type=module], either `app-datepicker` -->\n    <script type=\"module\" href=\"/node_modules/app-datepicker/app-datepicker.js\"></script>\n\n    <!-- or, `app-datepicker-dialog` -->\n    <!-- <script type=\"module\" src=\"/node_modules/app-datepicker/app-datepicker-dialog.js\"></script> -->\n    ```\n\n    ```js\n    // Alternatively, loading element in JavaScript.\n    ...\n    import 'app-datepicker/app-datepicker.js';\n    ...\n    ```\n\n## Browser Support\n\n### `app-datepicker` and `app-datepicker-dialog`:\n\nSame as that of [Polymer 3][polymer-3-browser-support-url].\n\n\n### [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)\n\nECMAScript Internationalization API for `locale`. For more details please visit [Can I use... Intl?](http://caniuse.com/#search=intl):\n\n| ![Internet Explorer](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/internet-explorer/internet-explorer_48x48.png) | ![Microsoft Edge](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/edge/edge_48x48.png) | ![Mozilla Firefox](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/firefox/firefox_48x48.png) ![Mozilla Firefox Developer Edition](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/firefox-developer-edition/firefox-developer-edition_48x48.png) | ![Google Chrome](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/chrome/chrome_48x48.png) ![Google Chrome Canary](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/archive/chrome-canary_19-48/chrome-canary_19-48_48x48.png) | ![Opera](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/opera/opera_48x48.png) ![Opera Developer Edition](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/opera-developer/opera-developer_48x48.png) | ![Safari](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/safari/safari_48x48.png) ![Safari Technology Preview](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/35.1.0/safari-technology-preview/safari-technology-preview_48x48.png)\n| --- | --- | --- | --- | --- | --- |\n| 11 | 12+ | latest | latest | latest | 10+ **\n\n___** [Intl Polyfill for unsupported browsers](intl-polyfill-url)___\n\n## Throughput\n\n[![Throughput Graph](https://graphs.waffle.io/motss/app-datepicker/throughput.svg)](https://waffle.io/motss/app-datepicker/metrics/throughput)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n[intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js\n[web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js\n[polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers\n","readmeFilename":"README.md","gitHead":"0e26f0b19946c62520e06485bab7c9f9c64dce57","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.4","_npmVersion":"6.5.0-next.0","_nodeVersion":"11.6.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-AacDshw5CCXZBILwKJqvOw1VD2o5srSIE8wbGjPYG8wqJIG/Kt8DUR5H/XObi5vm7O9YBtB+CWej7ffQx+D7sA==","shasum":"ef06a03a81cdfc666b58f2554ac7eb6d90baea3d","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.4.tgz","fileCount":17,"unpackedSize":74230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQvPDCRA9TVsSAnZWagAAPrQP/iWov3Ih76RFkCVn161L\nSC0cPySnzNMuYx5HM0lv7X79sIlq1CkC2nrlx49t+3zqd0cMGhq57HQRnHrq\n/8EupAyYw7mU/uPHw9VxavGnM82Pr1ogYcGXJUFDNkd/hPI6HJfnV2wG40j9\n8iXUVSza5XSZ9DvL6gV5Xt+bl6Ijx7v+3Gec6L7eNvFTa0IXdIv64qEDyE9p\nnPKzQyGgZPcchGW/9+CpFmTaYOl3uEjBRsH97zsG5kE9gmtSJwKtnElLmACv\nk7z2CgeG4fwybtf/ed7yL0ZodvsgErwvh9jMTfYiP6cIfZSdWUNh3vIt0LaF\nctSpxHdR00fqsvaVkU7OpIVqmkUqo/aTf2gJKDOQabBjr5roD9KvrEO8Bvkq\nrp2l5nDpe9WyjsvTmiRwy9+J6k3Y4lqkVm/dqQ/bJypA5iCVjTuvKJQJiVB4\nlF95yjhyCYji/e4d93afEK6Uha6Yv4n2Dhs5GbtFFBtz9kbdhuXHaPkTHU+m\nT7hy3tujx8rPthsxucfQSveC/QXSRTKkuyinABysilGD6YqlfsDLZvSyvrLk\nlk/A4jHDTxOzhbLVHMoZopamXliEStwNU7Af2QFqUCRYc7rq5VgeCFOC+OIA\nV2DNBDwC7GPA2Z4qIzpZogoP3WP0SjnMX/GOcGWr6oOuT9j9zIGEzKM8w8MQ\nAIbk\r\n=YwPi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGekruIHeUskgcwaWNc5uf4gMnc1Zrz0bn2/o8KrD7TPAiBmp42LgjfAOFYp5DZoh7cdojgHDrJmKk+CXE8Rat/IsA=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.4_1547891650946_0.288852828030268"},"_hasShrinkwrap":false},"4.0.0-rc.5":{"name":"app-datepicker","version":"4.0.0-rc.5","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.3.5","lit-element":"^2.0.0-rc.5","lit-html":"^1.0.0-rc.2"},"devDependencies":{"@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.5","@types/node":"^10.12.18","@webcomponents/webcomponentsjs":"^2.2.4","chai":"^4.2.0","mocha":"^5.2.0","tslint":"^5.12.1","typescript":"^3.2.4","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![jsDelivr downloads][jsdelivr-badge]][jsdelivr-url]\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![Build Status][travis-badge]][travis-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents\n\n<!-- TOC -->\n\n- [Older versions](#older-versions)\n- [License](#license)\n\n<!-- /TOC -->\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.0-rc.5\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it is available on the following awesome CDNs:\n\n  1. [jsdelivr][jsdelivr-url]\n\n      - `esm` https://cdn.jsdelivr.net/npm/app-datepicker@4.0.0-rc.5/dist/app-datepicker.js\n\n  2. [unpkg][unpkg-url]\n\n      - `esm` https://unpkg.com/app-datepicker@4.0.0-rc.5/dist/app-datepicker.js\n\n## How to use\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement} from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static get styles() {\n    return [\n      css`\n      :host {\n        display: block;\n      }\n\n      * {\n        box-sizing: border-box;\n      }\n      `,\n    ];\n  }\n\n  protected render() {\n    return html`\n    <app-datepicker></app-datepicker>\n    `;\n  }\n}\n```\n\n```html\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org\n[npm-url]: https://www.npmjs.com\n[node-releases-url]: https://nodejs.org/en/download/releases\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[web-components-community-url]: https://www.webcomponents.org\n[lit-element-url]: https://github.com/Polymer/lit-element\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=4.0.0-rc.5\n[unpkg-url]: https://unpkg.com/app-datepicker@4.0.0-rc.5/\n[material-design-2-url]: https://material.io/design/\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/app-datepicker/badge?version=latest\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[version-url]: https://www.npmjs.com/package/app-datepicker\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE\n\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=1.0.1\n[downloads-url]: http://www.npmtrends.com/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker\n\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/CODE_OF_CONDUCT.md\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"f769f79a8559aa7736d7abd5ca613635eca501ca","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.5","_npmVersion":"6.5.0","_nodeVersion":"11.8.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-uvHK9X7jojxrpvKLr0lkyLDFA4C1FWKZqbJP6raE+JGgC71c+qoWIiZIpi8TwuNeN1W7QYqJJybeHmcgeSLL4g==","shasum":"ad4e70d108a32b82b4b4ef95dcf378794988785f","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.5.tgz","fileCount":17,"unpackedSize":81148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUW9gCRA9TVsSAnZWagAAFhgP/3APVD1UlDL7iDY2Z37m\nx0CyDzO8mB7D/tnghbXaYZG3kwbtu2B2HS+5iMKmMNkBETl3dpv/t4w9cU+V\noGJLcAlhy3tUG6gF9oGhjIA/qO1+QbjndxEk2ws95XPg2DEHYhiGGQsLirAd\neSlNFVJxallQFBVfF2i6epqQgp724UoobMPm02wf5oa0T6GpSHHZM5rMl9cP\nHg2UEB+97UmzJGLR9LkepYEpTacTfQUwuDKQcXxc2oi6zBLHt9lYQT0m+AF0\nbfZQfgAjCi8GoPJsq+iq8AqwohFY8iBraAy+wTn3JLZD/a6yIQvrcMAqj8bt\nPHXhOEFyN1llbN1KD2sZCA4GxM475AJGTzn7XL+oEIpd+WyWABjnWvGS2uxo\n2ix91fUK6YUosM4xTkUHxhPRseHc1oZ2FBKNlL3SmZATp24RlW4ntZmKx1Ik\nx6I6IN/4Uu0f2DVjWtPStZBLYkLgbBry6DSQybnYC2MTrOfd0JhWak4VPObv\nzYDVo8V/w2Pn5GNypjmyqh5Y6WjujUpablKmYbDS7Sc+oe653u//Xa4TWwh/\ne5ts6wak9okzqm0ZbxmV32SPNDXJ27Kmgw6WpxSw+8ZmhK+mKuoilo0ziC+g\noefKMN87KynBvhZfkvF8nL4J+utglCUm2/5p9bQguey5K5zEsHlJOZupaRMU\nSZC0\r\n=C/4k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAcZ/WBH7ffIZL5k0Y2SwQEW5ChKTYupQRZMLXXGGpG+AiEAuwKyt+f+4+ZS35grnqwURQGYlMhS/kV2E/uP9/uDitc="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.5_1548840799933_0.5515837968214339"},"_hasShrinkwrap":false},"4.0.0-rc.6":{"name":"app-datepicker","version":"4.0.0-rc.6","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.3.6","lit-element":"^2.0.1","lit-html":"^1.0.0"},"devDependencies":{"@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.5","@types/node":"^11.9.3","@webcomponents/webcomponentsjs":"^2.2.7","chai":"^4.2.0","mocha":"^5.2.0","tslint":"^5.12.1","typescript":"^3.3.3","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![jsDelivr downloads][jsdelivr-badge]][jsdelivr-url]\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![Build Status][travis-badge]][travis-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents\n\n<!-- TOC -->\n\n- [Older versions](#older-versions)\n- [License](#license)\n\n<!-- /TOC -->\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.0-rc.5\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it is available on the following awesome CDNs:\n\n  1. [jsdelivr][jsdelivr-url]\n\n      - `esm` https://cdn.jsdelivr.net/npm/app-datepicker@4.0.0-rc.5/dist/app-datepicker.js\n\n  2. [unpkg][unpkg-url]\n\n      - `esm` https://unpkg.com/app-datepicker@4.0.0-rc.5/dist/app-datepicker.js\n\n## How to use\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement} from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static get styles() {\n    return [\n      css`\n      :host {\n        display: block;\n      }\n\n      * {\n        box-sizing: border-box;\n      }\n      `,\n    ];\n  }\n\n  protected render() {\n    return html`\n    <app-datepicker></app-datepicker>\n    `;\n  }\n}\n```\n\n```html\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org\n[npm-url]: https://www.npmjs.com\n[node-releases-url]: https://nodejs.org/en/download/releases\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[web-components-community-url]: https://www.webcomponents.org\n[lit-element-url]: https://github.com/Polymer/lit-element\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=4.0.0-rc.5\n[unpkg-url]: https://unpkg.com/app-datepicker@4.0.0-rc.5/\n[material-design-2-url]: https://material.io/design/\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/app-datepicker/badge?version=latest\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[version-url]: https://www.npmjs.com/package/app-datepicker\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE\n\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=1.0.1\n[downloads-url]: http://www.npmtrends.com/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker\n\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/CODE_OF_CONDUCT.md\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"1cf38fad18b29e1f7fe681607dfb2c438c55ed37","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.6","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-UeST1xW781s0nJnX8aWw/OvzdpCyKbc9jSuBSZ+bVq+raThnzOLnHcH+AlztWsU1Jui98P5zRBurN96ysLNmDw==","shasum":"d38e0499faa50c53841fef76b88a1ab5e84c3a23","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.6.tgz","fileCount":17,"unpackedSize":99344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZZAhCRA9TVsSAnZWagAAJu0P/ReVb6OJsQUfHK4MeLm8\nboXV2Jbj7A0WAyerau2nJXYqRwhK+KAVJqg08yRbSNcYccCZWWXFkqXcijBg\nTc2sczYjxHfr9/SFM6ZCn3yZb4ErNCZZmeg13TSQ3q+WYNJ8pV2lkKWMEJ3C\nr8Rw0s45x095fH4BP88yVs2Y20EGZlQwMCIJBLZ0ihOL1C3TcSvwAJR44nR0\nXMV+ci3pCQhLuxDP6KbN+Mlgiab49Md6icZB3pVfW32FdkB6K9c/FCQKGcK3\nfx42b443Hotoyay9AN8fmKHdShtpHdzQ7g3cDgx/o/kDBXElYb5kVF5hyKJv\njXcc6Gn4YHLxfQ+oJkIkyrIp+Uh0n/Mf/mu0OzfInwb9rz+04n2JJlNM/r7S\niApll9NxHUUVYLMTVs3WIdrsox4B+CwQ/ssNK1YC0TpuvRVPF0Rg/OQOYTlz\nqylReQ3U2iE/Apc2XVIYWfjpQHmtZFQOcepkkeGtZq9uPblLJSzg/IhaghrU\nicI0FO2+/1pa/dh1vSvEINsLE6i4BlA06+gBhUhna9eRimbglNkPVj9h6req\njpzHoZzsIMLgTdeFbzGuTsKBpjERY50iQ2VGQ/WreDpox1h79v17HWY5YYaD\n2GOkYiUqXK5weBiglTLRQdAvkjxUfqLOcOIVWM+Rg1R6Ib0JhCJ+9kzbDw6i\nIOzv\r\n=osbO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCG8q8gKl9iEbn/pGqdsK0SecXCG4jKxQNuXt1ZAZf+NwIgGsKFVADVlhXXzw1mt3fmc3YR2x7Q5s17ASMCJW4BzxE="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.6_1550159903932_0.538427721622615"},"_hasShrinkwrap":false},"4.0.0-rc.7":{"name":"app-datepicker","version":"4.0.0-rc.7","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.3.6","lit-element":"^2.0.1","lit-html":"^1.0.0"},"devDependencies":{"@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.9.4","@webcomponents/webcomponentsjs":"^2.2.7","chai":"^4.2.0","mocha":"^5.2.0","tslint":"^5.12.1","typescript":"^3.3.3","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![jsDelivr downloads][jsdelivr-badge]][jsdelivr-url]\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![Build Status][travis-badge]][travis-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents\n\n<!-- TOC -->\n\n- [Older versions](#older-versions)\n- [License](#license)\n\n<!-- /TOC -->\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.0-rc.5\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it is available on the following awesome CDNs:\n\n  1. [jsdelivr][jsdelivr-url]\n\n      - `esm` https://cdn.jsdelivr.net/npm/app-datepicker@4.0.0-rc.5/dist/app-datepicker.js\n\n  2. [unpkg][unpkg-url]\n\n      - `esm` https://unpkg.com/app-datepicker@4.0.0-rc.5/dist/app-datepicker.js\n\n## How to use\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement} from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static get styles() {\n    return [\n      css`\n      :host {\n        display: block;\n      }\n\n      * {\n        box-sizing: border-box;\n      }\n      `,\n    ];\n  }\n\n  protected render() {\n    return html`\n    <app-datepicker></app-datepicker>\n    `;\n  }\n}\n```\n\n```html\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org\n[npm-url]: https://www.npmjs.com\n[node-releases-url]: https://nodejs.org/en/download/releases\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[web-components-community-url]: https://www.webcomponents.org\n[lit-element-url]: https://github.com/Polymer/lit-element\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=4.0.0-rc.5\n[unpkg-url]: https://unpkg.com/app-datepicker@4.0.0-rc.5/\n[material-design-2-url]: https://material.io/design/\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/app-datepicker/badge?version=latest\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[version-url]: https://www.npmjs.com/package/app-datepicker\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE\n\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=1.0.1\n[downloads-url]: http://www.npmtrends.com/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker\n\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/CODE_OF_CONDUCT.md\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"1db7fe39670e3c16533835387b6f30de1718e824","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.7","_nodeVersion":"11.10.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-iDM4LLc3jzHEbqjDeRXzheuWZyd9t96GHXSMrJSkBFFigudw6KA8kFRgkJhu8eYDoJwz3h/xHWk3TDAsxDD7Fg==","shasum":"b9b16c7b5f9fd1d28cb500fd98035d9065d29228","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.7.tgz","fileCount":17,"unpackedSize":97436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcaZN5CRA9TVsSAnZWagAABjIP/RomkGo92pq93K+aF2u/\nTMsk51BDcnMQxIo1TCG+OWorMTpps0diCgn8i1tAmKG0mXm0CXiCp/XPdltc\nKzgPMw/Iy651GFXTNLu4IyhPx6QG1+Gqx395A5zQ4qN6jkpGFazwJjHu6lJ+\nrhEyQ7tkevWm+yTvAvPzhe10eeWUhtLs8WwvVr31SCU2DzUkV5WywU754Dlb\nwRJr9gijlvguzCtoaBvMj3wfBR8GkoAzvqYpu4eJcHfcoe648QEDghKT5+XW\nsscvsCKzgD3mNakQTIUWwzNgUke5yzzV18YXMclfjNXF/h0xS9jqM2lH0V0p\nhjgiAOF7M/X0nun+KlMq2nkvzIRZ6IWVS+n4G9Z0Y19d3so45eEuaW5uUwB/\nznA8IYqeMUUXbeQ/2wLKvFjj7SK/FqD1/HKLckSZvgBkMKqZ17Wdpbh6i9Ol\ny0Vgn9BWx6+9+5Ea131+9NVBIknBtTEQKFuV1ULq37FgkVvSTF4aS0DefoSl\ny1uiGok4j81qbfQQVDM2uFmTT3xfFHVUco2JVF3BKcENka1zwnVDdRrFtrUP\nn1q37NZreEsNFgbnuX0CeUSWAClKXr8XiLYmx8QFUoW8M6KnQRH6zg8kzVFd\n9BqxiPpRafnMehN4qI58TW6bFOJ9dlq951pYrDOkvblZk92j7o3LvKqqwHX2\nObBb\r\n=b/sh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbAw65+DEifP0iKVJTt8LBMGK0XwJOw8YEK+ddB5PM/wIhAKLMT8DuVirzcHFvDjvIlRK3wbBoQI9n+DRZhvZjFIKa"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.7_1550422905288_0.9136619040916543"},"_hasShrinkwrap":false},"4.0.0-rc.8":{"name":"app-datepicker","version":"4.0.0-rc.8","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.3.6","lit-element":"^2.0.1","lit-html":"^1.0.0"},"devDependencies":{"@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.9.4","@webcomponents/webcomponentsjs":"^2.2.7","chai":"^4.2.0","mocha":"^5.2.0","tslint":"^5.12.1","typescript":"^3.3.3","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![jsDelivr downloads][jsdelivr-badge]][jsdelivr-url]\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![Build Status][travis-badge]][travis-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents\n\n<!-- TOC -->\n\n- [Older versions](#older-versions)\n- [License](#license)\n\n<!-- /TOC -->\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.0-rc.5\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it is available on the following awesome CDNs:\n\n  1. [jsdelivr][jsdelivr-url]\n\n      - `esm` https://cdn.jsdelivr.net/npm/app-datepicker@4.0.0-rc.5/dist/app-datepicker.js\n\n  2. [unpkg][unpkg-url]\n\n      - `esm` https://unpkg.com/app-datepicker@4.0.0-rc.5/dist/app-datepicker.js\n\n## How to use\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement} from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static get styles() {\n    return [\n      css`\n      :host {\n        display: block;\n      }\n\n      * {\n        box-sizing: border-box;\n      }\n      `,\n    ];\n  }\n\n  protected render() {\n    return html`\n    <app-datepicker></app-datepicker>\n    `;\n  }\n}\n```\n\n```html\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org\n[npm-url]: https://www.npmjs.com\n[node-releases-url]: https://nodejs.org/en/download/releases\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[web-components-community-url]: https://www.webcomponents.org\n[lit-element-url]: https://github.com/Polymer/lit-element\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=4.0.0-rc.5\n[unpkg-url]: https://unpkg.com/app-datepicker@4.0.0-rc.5/\n[material-design-2-url]: https://material.io/design/\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/app-datepicker/badge?version=latest\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[version-url]: https://www.npmjs.com/package/app-datepicker\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE\n\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=1.0.1\n[downloads-url]: http://www.npmtrends.com/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker\n\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/CODE_OF_CONDUCT.md\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"89a91f16dbaff71ba88458eab3b078f4feb4b7d9","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.8","_nodeVersion":"11.10.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-dPyPinsBMi0TpJPNqqrBHSWEDnjbsKzAzPEkyraLjgEEwf6F5WNiXosj8BeJ6RFnAC4ETP0Sr9rbOOdh4RJ4Mw==","shasum":"b121a993c03432e4d9b28f77926f14cac56c2caa","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.8.tgz","fileCount":17,"unpackedSize":95976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcag8uCRA9TVsSAnZWagAA9ywQAIRRiuBTyiDiqPyCPulN\nxUOFRkkpL9ffdV7e9g3TFb9KASE36c+mb4p3mmfDi4q69RC9UARrL9iuZ5CG\nSvS1Cr3rFORS+gyINFRZgQMBIYv6bKq7dxkzK8G/hWge8PRU8ixouKC8smKY\nadrsh16ACXV2zTP2XQ2GjYlVo+M0wQ7J60O5Jkx9fQbmPczPgzEdTMLjl8y+\nyI4A88oKZCozD3TAelYk6FQukxWcyUiGBizFkB4PDrf3MWIXcdWT+lowyuGQ\nCIAKTDHiEU7d5Y8jC30NZRDY7pOQaEDnXEIzHTxQOSCgV0bo1trWK4ZKzMS9\nSZVIGrVTiCeBX+EwS2CDG40n4IXbgmiohewKiIP4j6MnJAVgNPEict5ZN7tE\n4U0SzaLVsAGAGekhiXDlwmPSvd0dFtVjsGjrKin5cWebQpn36jbkJc31ntuV\n0TZJ+pCyIJEyy/2daHenMhzYKRkVUgpkNT4vF9KGQ+7XBpEJlMLdFk2xkXvH\nUpS/MRbWVPDR4es89ISIwGvRmFXrEJyfTGSYdyg2RnP79DQpmNLRk4/4GVnk\nWJ0btyEii0LPKaVNzDojCgIG0Vl4S5dysrXypyA5HcYfI3bicAjAEBPbWYng\neaLXQdAIubGABl5YC7NcyZoFgjOukQR9E6Ky6kWh2tjrGEAeY0fLnEdzFSi6\nzuDE\r\n=Y0ie\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB0r/SWFobdn4Od4RgKH/TNG4O6+oQYbubdavh/N4x67AiA/Kwlyk6Tq3c+LUmskaDSVz7yQZq3+Z4bxhj3ITYRCHw=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.8_1550454573915_0.6243321487236262"},"_hasShrinkwrap":false},"4.0.0-rc.9":{"name":"app-datepicker","version":"4.0.0-rc.9","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.3.6","lit-element":"^2.0.1","lit-html":"^1.0.0"},"devDependencies":{"@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.9.5","@webcomponents/webcomponentsjs":"^2.2.7","chai":"^4.2.0","mocha":"^5.2.0","tslint":"^5.13.0","typescript":"^3.3.3333","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![jsDelivr downloads][jsdelivr-badge]][jsdelivr-url]\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![Build Status][travis-badge]][travis-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents\n\n<!-- TOC -->\n\n- [Older versions](#older-versions)\n- [License](#license)\n\n<!-- /TOC -->\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\n`app-datepicker` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.travis.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 11.1 | Mac OS 10.13 |\n| Safari 12 | Mac OS 10.13 |\n| Chrome 41 (used by Googlebot) | Linux |\n| Chrome 70 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | Windows 10 |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API reference\n\n_Coming soon!_\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/app-datepicker/badge?version=next\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master?icon=travis\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"910ba0d43f4847d2dbe18af0d0eb9747a1ee2566","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.9","_nodeVersion":"11.10.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-IAm9dfrLlL1HRqPDPcrC6gkm4n/qT19ImWM5Aylonsk/PQvktrR7gvwj37iwkT9Z2xAcRB1Gqq1qKW0uW1Uwwg==","shasum":"e77a48f6ad43974d17e558860e8a88bb31c7f1d3","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.9.tgz","fileCount":17,"unpackedSize":100816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdzHHCRA9TVsSAnZWagAAO00QAI+euZWT0SHv6JCrfnxf\nuRwomk6voBvBQDbCYlk9h8jMniQzMynWhDVXiQTzVO5GWg8wPhySyKsq1EvB\nYrNk9Y+t9fvRRYNtsvbn7NsCgRCLnJM38wW5qZI5MTkbMfps0OZQnZHuUrer\ndLznjtRjfXLmWrtKqSA7/ngPGxXmSfEQ4WoeQIU7mUv7xWC9ktaI6H7YtzZj\nJpECGkHBUMFRpJlBPYMRgT5wE4ih6CDGgAojmvmPRZTZAQS1MmJdrzu4nhdu\n/deF7UXOrbSKqSzX05hfC3GLMmHb6uUJgq/6BnnknOEg1vx+VRPm0irmwLLi\nA0jOp9dvfGz3J/a8rLvbycIw/sWKTf49XV1mPpY+dZtoBkm33WjOZ+WR/cbF\nINt7TT3sCD5cHXxzA4cSV5psom7SofT7SapVxIDPKgeQKIbpR+TDJ4G760o5\nAalkgxngaWgijEUrKX30Eo6ePD82c2doEOTUho8ha1gLpP0yFPrcFQ0brGej\nxsZi1sNjHnsVBCz6LhjJbpbhP6bxm0q7MZopjX+xpZmLAII7CGO1nGJINIrn\nt57CljVzEs6kuZS4DwfVHxWKIMZZSGxJLfGTpnPwDQf/vcJfHk35SRrseCaH\n9SqwBqjteK7La0kxjihHjJWzbBKByOZsEXxJxijJMzhgtoXBt01pkPtt56Jo\nDHCk\r\n=MojI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH27sOxT8GdY/SxIxB/rFoMGf9YQjPQq9tFaWTDX/PN5AiEArTxfo2vUkVWkld0KK84liKI2iNr6kjy3K6XOXCAJiJs="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.9_1551315398681_0.7485609062248926"},"_hasShrinkwrap":false},"4.0.0-rc.10":{"name":"app-datepicker","version":"4.0.0-rc.10","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.3.6","lit-element":"^2.0.1","lit-html":"^1.0.0"},"devDependencies":{"@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.11.0","@webcomponents/webcomponentsjs":"^2.2.7","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.13.1","typescript":"^3.3.3333","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![jsDelivr downloads][jsdelivr-badge]][jsdelivr-url]\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![Build Status][travis-badge]][travis-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents\n\n<!-- TOC -->\n\n- [Older versions](#older-versions)\n- [License](#license)\n\n<!-- /TOC -->\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\n`app-datepicker` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.travis.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 11.1 | Mac OS 10.13 |\n| Safari 12 | Mac OS 10.13 |\n| Chrome 41 (used by Googlebot) | Linux |\n| Chrome 70 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | Windows 10 |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API reference\n\n_Coming soon!_\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/app-datepicker/badge?version=next\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master?icon=travis\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"2df9f17c4699f60b2722d1ceb9c244ae1bbb794f","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.10","_nodeVersion":"11.11.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-aA5iXldfsTsG+Ukz5349tcHYvWXqNFX+5wbG06f7OTob61W1uk9qU6f9muDHwjWNJ2XJ491I9156TrO9+G484g==","shasum":"45065f92d9482230229d654847b6ad55e194e46c","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.10.tgz","fileCount":17,"unpackedSize":101112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchmHiCRA9TVsSAnZWagAAbi8P/1CrwhbIgZoyoul0lP1o\nBExohViU1J2XT+3bp3ZSa+XV5m54PioZQVDvHIAvzkb7ynQ0mBRBX/P+n3xJ\nsRZy0Rjy/wja0zlsi1+gW9sNKHtgqZOX5LK4pR6J4PSTc/l4OWvSw3feaAbG\njS9zGYhmEvsGRtbKvQja2sV+dgvnUhK4kUMsUkLhzOPMermIFGVo4/a7Y86A\nlKXn5HErm/HQys9FgIHAI4nax/0S/HB7zIbQvwkH3eDokHObYPNKOQx2Wv+R\n89Zrbw9UqPLQmPD+UeMwh3M4WAyLFotd7/94OvrER0c0hmkWWkwoklItwmgp\nqm8+XU1C+PNIdo4fxfxKKDTo4vfpHh3ra7IRG/E8On8aIb4QAt23pZZwoOZj\n0omvEOQDZKx7imI4izwv6Zv/+8qHi6oEX8rvnQSRh2q0fquxDwjiiziL+3Vl\nxrxe53s+6xIEMmb4l3f0g8J8/BpKJqOCfsR3J9RpDzTgyJKAlX7ACi5wbwv1\n0+5sle2Y6wRrieSWpfLeOZ+jQlSWmMC/mqc6hZY9g2UM1+2L5ocJUw43tRW6\nQ1aUKGq+kj45GwTdw52nriw3XEYfpLOBuD5zlCpmkprzb+ON7FonUEFq+j/Z\n+UZc5LyApqCvs1z12bAlZPtpTcx9rxa0pzHQEOBPjJx8qxRjVjMiRBV3fWCR\n5tIV\r\n=i7Sw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7IJON+XIwRimzCKS8vLULa+/QpkqeXn4QOmerP1l1uAIhAIXu1qBETfao4ElcZcGVO7lvY2vL0s7jxKrW8OcHucOF"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.10_1552310753521_0.17340953974279572"},"_hasShrinkwrap":false},"4.0.0-rc.12":{"name":"app-datepicker","version":"4.0.0-rc.12","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","test:sl":"polymer test --config-file ./wct.config.sl.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"lit-element":"^2.1.0","lit-html":"^1.0.0"},"devDependencies":{"@material/mwc-button":"^0.5.0","@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.12.1","@webcomponents/webcomponentsjs":"^2.2.7","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.14.0","typescript":"^3.3.4000","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n<!-- [![Build Status][travis-badge]][travis-url] -->\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.travis.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 11.1 | Mac OS 10.13 |\n| Safari 12 | Mac OS 10.13 |\n| Chrome 41 (used by Googlebot) | Linux |\n| Chrome 70 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | Windows 10 |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n_Coming soon! Stay tuned._\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master?icon=travis\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"d25fcca8a5525f8d52c3be0b851ce9bf957e2c8b","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.12","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-uL592RiKDV7rreACHmm8bxF2x27WnaUFO2IpaAoWDACRqxGX0C9cOa1OTIYd21n78F/5zuK9QHaKZGqsGY1ojg==","shasum":"cb1f5e3b6f189625ac6268358ebf694cac6ef570","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.12.tgz","fileCount":17,"unpackedSize":102214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcn3OsCRA9TVsSAnZWagAAg1gP/3TT6K2joOewb6sKlebT\ncD3jqZdzCgCduMm94S2wLouqxgJqx3+G5N/qjQDifz3/epDVFcKc1Z61Yjfy\nyt3oLr6c32w0yHKh4xmZ1W+CZ0lB8y8GrBJC0BQ3f6mrji2nnnlhouCGb8TV\nZHzep4dcgdZtdunMzhVFv21NwGNH05DqxIFjiiiKqF5tNfjpg9M14zV5FruF\nUczfcVgNbdx9jBqKlV2eFd7ScB/01bS/pG6q+85qgRVGhHYKjsHn+RMdmVSF\nNhNdVQ2RU6lHpCBnPFami4kzMF2NqNvJrr7Ig3bXBnrdNNYW+OlEiVCTTc7k\nsY0aXpN9V+eaWDxFSJW7THxWjk6xqFyECUXJl5Vu7ovHF2p92FQUSwLmHUKF\niVjSn5c/YurQKuTrQnXrnBH0vxQbm4DAp9WQqR3LpNaAGrn+GaB+GjIiYkhC\n47a3GBCW4gk4rUSt9EUdOywpDygdIvdvqqq3UJpSgDC16yFmoZLktj3KHsm1\nPf16Vp9q8rKa+CWYPKwKB+vA6dliJqqITy1vltiiOUfn0h3tpSAoUrGjn2EN\ns6PDbQbJkf197ccq1hfodTc/WpFsVgLlS/D9V6oPEahyICiVcyQzvNkWkl9r\ntyPldvl0HRRe9886H/AkTF69tCTmHQW7mgOU46d68mKOIKZUncpnH/uBlJiZ\n2FAX\r\n=DruY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzbCicsYD9547S9WwuAdmwfc3z1JM76Dh9JlZpiM0mbQIgYTLxtUk81ynsxxUIqveFUR/nVaSTnWrNkSZ6Q3iv5jI="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.12_1553953707734_0.09580271734235257"},"_hasShrinkwrap":false},"4.0.0-rc.13":{"name":"app-datepicker","version":"4.0.0-rc.13","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","test:sl":"polymer test --config-file ./wct.config.sl.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"lit-element":"^2.1.0","lit-html":"^1.0.0"},"devDependencies":{"@material/mwc-button":"^0.5.0","@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.12.2","@webcomponents/webcomponentsjs":"^2.2.7","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.14.0","typescript":"^3.4.1","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n<!-- [![Build Status][travis-badge]][travis-url] -->\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.travis.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 11.1 | Mac OS 10.13 |\n| Safari 12 | Mac OS 10.13 |\n| Chrome 41 (used by Googlebot) | Linux |\n| Chrome 70 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | Windows 10 |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n_Coming soon! Stay tuned._\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master?icon=travis\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"df901e0a423b5d7269694ceb0111603ef5acb389","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.13","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-O3j2AG+7CKl9kyWzFTDvol55oaaXUDgzlhtL+efh0ycrcN3U0V2tx7BU8rkqsEkQqw0jvPMOS0GzryEYxcX7Rg==","shasum":"b94326e2b7cfad6474217911a7cd5112c448b1b8","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.13.tgz","fileCount":17,"unpackedSize":102905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcn64fCRA9TVsSAnZWagAA7NEP+wS3pBEwx0pjdUuVX11O\n0LR6rGZQHSMybzWiS4KKvnEwFjGV5DMAM3ZDYf4YK0MAR+9gqk1mLFiDq0xs\nI1wYG2JgWrgGiIWSFSd09z9L1GZm+UpwBRJTWkNl3Ftar5MKTXFXoo9m3BWG\nD32njSoKuyfJzeXsOvKV/4P3IKnKHH0ZVvvn2tdRVWivvYMEKBmpH3obxQDZ\nrGsD6wObR/7jtYcbi8oHYRPTYFDOb3yUf0JlUMyzEbXilwGFgrBaVlB3zWjG\n8nTPMIVSeIW771ESDSSllJJWGaMKq2MrhKtOwxgz3NYGkqn1jOekmqhPh7V/\n8UvkUin47KZiT/210gZTHiGYalVMB2cIdi3zlc2CKcXaAbQE8t4wuJKDNbeZ\n6TJ4l+sGtEGNTl6NXm98ubTYRB2l+mUorDcxW+A2LkcFm/dMMW7X/EA+Fk4f\nQ1wle+yQxenDrZ6rAXF7KdXwclM4XqBIjO6Y9f8jljkmTwejYXf1eCRtn1Fb\nzOaTRuLzuPsz54iq6Epf2t4PKWwajhTMq9ikDIHVHwWq8d9cYyBVMzfVFr0d\nIXxubi6yMN52aVhgQLqAVbxatZ6WRR/ckNfWK1VunUiikLlof6TqmtL5F0RB\nGDVYgDv8hQm5YnhDJ+H640nRVHj8VzPOB8C1J/J9hMDyfDTleHtkL7FGYxJr\nOjel\r\n=iMVk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDstUfFybQBVaSV5dcIWAXvfcRpes1kteC1/r5IRoljoQIgeiy/HAbeWl6gx0VsW5Vj5nTRQh7LzdMRMJo44pPfkug="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.13_1553968670467_0.3520494834028709"},"_hasShrinkwrap":false},"4.0.0-rc.14":{"name":"app-datepicker","version":"4.0.0-rc.14","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","test:sl":"polymer test --config-file ./wct.config.sl.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"lit-element":"^2.1.0","lit-html":"^1.0.0"},"devDependencies":{"@material/mwc-button":"^0.5.0","@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.13.0","@webcomponents/webcomponentsjs":"^2.2.7","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.15.0","typescript":"^3.4.1","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n<!-- [![Build Status][travis-badge]][travis-url] -->\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.travis.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 11.1 | Mac OS 10.13 |\n| Safari 12 | Mac OS 10.13 |\n| Chrome 41 (used by Googlebot) | Linux |\n| Chrome 70 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | Windows 10 |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n_Coming soon! Stay tuned._\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master?icon=travis\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"c439b307d6e6669f57c0488493b5a6efc58e62bf","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.14","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-FqnjStz15CZZvwWcdPE2aXqzp6dvVC/yK9P/XkW+E/yeRav/LndY23Cflq5XPSJiXspdXlkoa4zrkcaJ/SPd8g==","shasum":"3bddbcba0dc56857d6bbf6ab26ddbdd1549aff78","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.14.tgz","fileCount":17,"unpackedSize":103473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJco3t5CRA9TVsSAnZWagAASdkP/1a6yBppAxsmzfGt3zZU\n3Ihy3y/kO++UQpJa8dU95XgNAscO+ZEMzOwjlBlA7z37ar8JHK9WpgjjBCwx\nKWrwXI17QWZe8qd1UWIwZHZDIDCKMBasMEhdsyrtlsPeBg3tkxD1aUzikEtj\nPBCdTkXDB1fL6wLHGJ/dtyTRNXbVum2dmkSBHv8qHvzwZbOkn2L/pSenQMO0\ng8G6P8oTvP5QPHACs2HanJcz1xMmCOLEm+gVz2DIFHswd90McY6k85Ptz7yS\n2tCPLTvq2pZGnE3sXpVfx38+Cp9lG8dNoBxf1QvL0ifIi180hFKUAYW2EkoH\neQf/dutJXmenntPHADl7J3mb7L6rctfcBnaQUuQzJLh7w1fHD6yjiYtP5Ym7\n0XNe9ciaYzao06kZP3aXf6OTAkOhOQZLqn4rkgLYxDM2TGTa+HFrfaM1PBL/\nQFnP4WrIFvw+QWJ9M/EZf2eEtmYlkLJKyk2LMqvVKxKQsnAHKORq1SRVsPYy\nZ0TYJ6YzE+Z6h4U4vUhM9NkCFzL1LX2MKxumJzmNjql4+K0+JUQ2lyRwD4ym\nwag+xEcp4cGOo5FatbPu/TEcRTddu+rNcZ9LNA9t8dQj1oGqOAWxMPOpz5yA\n2eMJAYgCTiwIGKieIbxeztPoxFBJZzB+dUL5hJSNBkzZibpaVxjAUigZL63I\nc7v1\r\n=zJqI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPk9/Mc2wL+Y8d+9FgVjxf/6AlV+v5kaXWW1gdtB+oHgIgejvugA9ApHg2WxQ9j7Szk21/N2u8ABQwZKYcVSAe3H8="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.14_1554217847965_0.10601133145869324"},"_hasShrinkwrap":false},"4.0.0-rc.15":{"name":"app-datepicker","version":"4.0.0-rc.15","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","test:sl":"polymer test --config-file ./wct.config.sl.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"lit-element":"^2.1.0","lit-html":"^1.0.0"},"devDependencies":{"@material/mwc-button":"^0.5.0","@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.13.0","@webcomponents/webcomponentsjs":"^2.2.7","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.15.0","typescript":"^3.4.1","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"7d18e0193d04b140100a962362c582a5a7b8f603","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n<!-- [![Build Status][travis-badge]][travis-url] -->\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.travis.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 11.1 | Mac OS 10.13 |\n| Safari 12 | Mac OS 10.13 |\n| Chrome 41 (used by Googlebot) | Linux |\n| Chrome 70 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | Windows 10 |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n_Coming soon! Stay tuned._\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master?icon=travis\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.15","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-TeC5unfDLKdKwEdsi4FYOiblojeVitpfcSXxmbmkF3l4cHs3QszTSzVnge2wfhpfNNi3SM2LxD2bBm4z1NxK0A==","shasum":"6afb76a4ea7e6102d1f15912eaf51a861aebf9b2","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.15.tgz","fileCount":17,"unpackedSize":104241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp0yUCRA9TVsSAnZWagAAB1EQAIklC5doTShdPdU2/tBj\nBQpCjLwZGsG1VF1SvjVIrHDIT4WBRgbTwwPFTEHo1DCB+vuZmKQ43U2Z4t7K\nLRRxt6FP8jdp0KYxQNmHBYHngAuPKkhYtGMvs1LcTm6FvQmDg/z3bvL2lTIC\nTabvrhjdqOmobni+yPfYpSXMMRts6CFnYpmgDPv2sgVgbdcWdaiP5Kjozas/\n+9W8h/tGTb0/pY4R+9c/a0tN3gKYGSkxyjo6atAzfhfUwwHnRCAqD2vSn6kX\n1NPS4hEhSUSFo3y26VI/gkVfLWX8I9KOCfZISPE97d2raEPSc0njzR1hvaea\nC1EdwXs3x6wMUCoaH2ienLBkbaOV9J3TCr6nh2ys0esIG5WPFlfdo0o48PqF\nJ2hDKcc9xONGz1XpLuKSeW2o3PdLbJC33wTDS3vv72vvRs4HdWBTC4o03lEU\nKWbODRXWhnO771ibWVkiFkdthgxKWiDBbWvzKq0HLAeMmxOi4/wFMLXmhY/t\nAO4cP682QNjxo1MMet4mPQaMGKMXaEb/wKJNT4a0gArYItlXqTBZq9d5f3Y3\ne6yU7fNaYWgUaAs0Pr6OBT4/vcUZ24NDRtP/pL+YggFWCjBCi9twkWrUyQOr\n/2bviy+IhCeIY2xGjAgSO1FWoiTAkK3LulZXbSDX56H5O8MTqyp3kFpUSOLD\nCQGP\r\n=rzR6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG6A/xRm5c7CrQxhVGmiKlklAIBMcvLihRAEgMRzfG/4AiEAwdqeoPvXVz20OrLQ7sXeFhber/7GHok7y5wJ8MuxxnA="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.15_1554467987610_0.31091156276825926"},"_hasShrinkwrap":false},"4.0.0-rc.16":{"name":"app-datepicker","version":"4.0.0-rc.16","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","test:sl":"polymer test --config-file ./wct.config.sl.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"lit-element":"^2.1.0","lit-html":"^1.0.0"},"devDependencies":{"@material/mwc-button":"^0.5.0","@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.13.0","@webcomponents/webcomponentsjs":"^2.2.7","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.15.0","typescript":"^3.4.1","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n<!-- [![Build Status][travis-badge]][travis-url] -->\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.travis.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 11.1 | Mac OS 10.13 |\n| Safari 12 | Mac OS 10.13 |\n| Chrome 41 (used by Googlebot) | Linux |\n| Chrome 70 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | Windows 10 |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n_Coming soon! Stay tuned._\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master?icon=travis\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"1a020c9b65e71647e4a751dd30af677be24bb7bd","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.16","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-SZvI9JQDYqqfajh8A8TgWhBrrdWSo8NKFf8Durz1P3o7iwGmsAChTN3twHokFar4TA6iGZ6VeINyyP+tmyCndQ==","shasum":"7d082b527547d2feb66461e47ef9ffe422c0a6b1","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.16.tgz","fileCount":17,"unpackedSize":105280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqNJcCRA9TVsSAnZWagAAnKYQAJM6qVsSrhFkNbJxrs5i\nPcqsqbc+d37nl6G7QUdtOReds6g7uLWd+x6BSFmGZJLqvi1TRk/zpqmdpLFC\ny3sBRDTfuoqiXRmAbWcTzMyQbYnodgW6D6RHQDU2v6wHbLwjoBeUK4XHRMTK\n5pMBC1mPF/oYrNarvpb+I2GOqaznULUWieVS2QREaytwMT4XZ11nYMwz5n4k\nO9omPqUXjblbdvh7zFMnKl/tKOhAirvlXX9Y4pUvIHD0U4j7mfLQc3kRPPcZ\niNFGFt0HuswUg5PvQncfPpxhqd5yy0DVrW/YcR89joXovaCyNzJcUausaEUm\niezC0yarFx8hBd7fyfXu8ysOl034EaS3CZUTq8HL9EQgN3SHdXCICDKB/pkp\nYadlssF9qb0QyaXQKpUJ/MDBu1raUtxo3+Cz2N1u3CE3EmvgJwlNevFjhDlI\n90GiCghsmfxS7iyhm+cQEzHJKYVUlkNP0yWXulyUBY6+lDsmR6NLvpy1VGy6\nU9wcFmuupaq7bd9+C3xD/b4Mrr8oGgbAZiLnU+vVEgA2i9y/nPV6X8dR1Q4r\nQXB8Um9/Xzblen1BHxknNiT5Mved5vetz2w2nnKaIppNtpvktUgEK9y6FkEp\net595lAtLRdhBR0EZuWCeh285C/HrGH3RGW0oxJaPQ+kYh5zaywon7zn8Dhl\nGGIr\r\n=lrNR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB9uKJwuJcjNoR20OdV4dTwmKC41lhdwiof+WT8LUaaCAiAlPXgwogp5TSNeAsRyJcG2CDdJgEQErMtZGtfZn4NysQ=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.16_1554567770372_0.09820189868857354"},"_hasShrinkwrap":false},"4.0.0-rc.18":{"name":"app-datepicker","version":"4.0.0-rc.18","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","test:sl":"polymer test --config-file ./wct.config.sl.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"lit-element":"^2.1.0","lit-html":"^1.0.0"},"devDependencies":{"@material/mwc-button":"^0.5.0","@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.13.4","@webcomponents/webcomponentsjs":"^2.2.8","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.15.0","typescript":"^3.4.3","wct-mocha":"^1.0.0"},"engines":{"node":">= 10.13.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n<!-- [![Build Status][travis-badge]][travis-url] -->\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.13.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Chrome 41 (Googlebot) | Linux |\n| Chrome 70 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | Windows 10 |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n_Coming soon! Stay tuned._\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master?icon=travis\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"01e7b9858ce63d26875f9a5a294c2e69e50f45e2","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.18","_nodeVersion":"11.14.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-L3g3wnbeOQBRy+r1REUy6k+/CGJFkkroAc5IlnWAmo0iE3NsLiogOlKOKx9JxI4B8lysXnNBg4KX4Mpzd5iU4Q==","shasum":"b5e315d932911c11cf69fac049b76d6e25fd34ed","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.18.tgz","fileCount":17,"unpackedSize":107005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsWKwCRA9TVsSAnZWagAAmRgP/3mwPdmX8XHkmIwZ2aC0\nIlQcr/NW0qsFe7CAeGFer+M8aauU/Yo6s63AC49MbpOdT2rHvZ7vj7rzsOKy\neAs6vGa/Zw9yHczv0cCOstPkg3zKN3GSjqBnzPyf4WITnuBslGP0uSYBrzzt\ncrzcpJKoqbKn33O7AVkQh7owd51t3Wm9eSYN5n8J6cNUG1xBEC/T/jJYlBDt\nROU/zumVGeG9QiNQMiW0/9HLZCj8cDBerTx+08IR1iB1kSE7kadA/R/bDtC3\nkuS3D6sXNfQmPkxB92hVNRzqjW9qhljn8XJnlS1uSHIlsaml2QbZYrZ5tyoq\nWAxRFJ0LF6M+l7K6moMgR2FGUG467qaUKoasHKTc7qWvY9kUpW9Uls/8Eu0Z\na3+Tqcljex/uk3d2XciliJdf1V5f5D5cRqsiTdB2HgimFiyVzH4BFqyv5aBP\nMIG1P/jBp6HDKqBmlua9exwFfSOxWqRE+f3PZTFOSunN2vemY1ZRIwq4xiDr\nBugLe8fHuqN/A5Z9sRQhCtUbFQ3pjnFKOgjmBDCeXF119y+eu8WN/qAt0ies\npvB04QvueJtfRGRJLSQgseBKHUzH0mly41KzPNWeGStZzvZtWsZyHCavtYTb\nNDFUIcZsM8n8O+CsLS8qVsdLwQ5EiuJlX6+AYWugGESzOVvz7ijyQHtM+OZ4\nId9S\r\n=0m1N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBA2j3U5tzZ3eo/JyslVUVM8/ZPdoZvZFDgnF8aBaqvpAiBK7m+2Cxywtu2gnHhI5cLkV5QgqM27f7jWmBp/+WMMyQ=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.18_1555129008302_0.8384819764655296"},"_hasShrinkwrap":false},"3.1.0":{"name":"app-datepicker","version":"3.1.0","description":"A datepicker element based on Google's Material Design built from scratch with Polymer","keywords":["cal","calendar","date","date-picker","datepicker","picker","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"app-datepicker.js","scripts":{"document":"polymer analyze > analysis.json","test":"polymer test --module-resolution=node --npm","testkeep":"polymer test -p --expanded --module-resolution=node --npm"},"dependencies":{"@polymer/iron-iconset-svg":"^3.0.1","@polymer/iron-list":"^3.0.1","@polymer/iron-selector":"^3.0.1","@polymer/neon-animation":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-dialog-behavior":"^3.0.1","@polymer/paper-icon-button":"^3.0.1","@polymer/polymer":"^3.1.0","web-animations-js":"^2.3.1"},"devDependencies":{"@polymer/iron-component-page":"^4.0.1","@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-test-helpers":"^3.0.1","@polymer/iron-validator-behavior":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-checkbox":"^3.1.0","@polymer/paper-dialog":"^3.0.1","@polymer/paper-input":"^3.0.1","@webcomponents/webcomponentsjs":"^2.2.1","intl":"^1.2.5","wct-browser-legacy":"^1.0.2","web-animations-js":"^2.3.1","whatwg-fetch":"^3.0.0"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"31a33930a12ff97e3db4946cb7ac79e6f8c5e069","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@3.1.0","_nodeVersion":"11.14.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-vdl1n9JwAjVkKBD95wEopyV92DM8UGyA/8sOCl84BHvGorzeQiBlGTDdLM1P4Wg0g2PzwZIEFOF+kX77KI1+qg==","shasum":"6378004381bfdfede42bb2292e76842fbaa0b584","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-3.1.0.tgz","fileCount":14,"unpackedSize":120053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuG/hCRA9TVsSAnZWagAAYzQP/RBKSaE5u/vYjLl8UnZ2\nJ53MojlXajzkJvyoh5lMDaE+JKPrHwHCY3rFpTDZLTtKtBPAcm+vmuCm1x2x\nD0ibVs8xjhgTVEiOhQOqOD5SBWxFmPRbSGXc9mJoYRwTjyPbD+9nTj9+z2E0\ny1UcM4LGvisOZOCbYEANrOHv7CXB5tw32LkrEukROlsSpUXCv67i4ZZaXZFl\nWehOrUm7XaZ/cJ65gIRLaAzHACvT+ry6KEynLgKQkKYemwfeKB5pHAl2RCs/\n/5fRxRMxTWzw28R5Cv9Bzvvnp4ulQDcXtXCUHCrzKZHTZqoN7GrPvATXNL7I\nX1kA4Hz7rpFUtI00ITEaT9FYdn7kmoxoI+0uwiHVvucRhOITuC7anzl1xB+b\nrsfT9wKPh5UwFzuPzYtfM302hjPAzEAgvcpGyk12IuS7y4e5Ye9a6oTi0Zuf\n3gbBfZnTgxvRWpS53wFNh7QBByvg1mDEH9MHduHdihqmedlfcs5foWbzsxTR\n7XiqZqeb5uXtYjKkUx14JlH4ij+KV/movC0sEVJ4EOpc/lAvBdfv6f6JBV98\noEYKqikm8Bw4GQQkoy3F4FTr9RY6X8UO1sj5LJuxwo1bW7i4vKygbX4UIf/0\nkbTjaKXyoDveCasztcX04N9La6233BTOyobzh2MgRP+Wtv/PZfe2G3pOLwLN\nBGHS\r\n=7TFR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGS43pxqDW/6auNpDFfgHctyF7V/j10fResSpKVKE4+UAiEA+93HFDMvU21T8GHSImf/HIn0Dyh89NNuyE5F+wLq2nQ="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_3.1.0_1555591137029_0.4334793957322891"},"_hasShrinkwrap":false},"4.0.0-rc.19":{"name":"app-datepicker","version":"4.0.0-rc.19","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && polymer test --skip-selenium-install","test:ci":"polymer test --config-file ./wct.config.ci.json","test:sl":"polymer test --config-file ./wct.config.sl.json","testkeep":"polymer test -p --expanded --module-resolution=node --npm","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.5.0","lit-element":"^2.1.0","lit-html":"^1.0.0"},"devDependencies":{"@messageflow/tslint-config":"^1.3.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","@types/node":"^11.13.5","@webcomponents/webcomponentsjs":"^2.2.9","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.16.0","typescript":"^3.4.3","wct-mocha":"^1.0.0"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"4d643debe0796fe1de99b7bb1d588b481b4c4bee","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n<!-- [![Build Status][travis-badge]][travis-url] -->\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Chrome 41 ([WRE][wre-url]) | Linux |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n_Coming soon! Stay tuned._\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[travis-badge]: https://flat.badgen.net/travis/motss/app-datepicker/master?icon=travis\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[travis-url]: https://travis-ci.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.19","_nodeVersion":"11.14.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-UxGAmq9hJa+/gFMlM856tjNsOAiW0aKFjDhes6QdY+9RzThYtV2Py9Rug8rb3pkYBNSV32RI7am9PoQ+nhMLGA==","shasum":"626639f77461ffea52eee414035750d9bce06dfa","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.19.tgz","fileCount":31,"unpackedSize":250552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuTFMCRA9TVsSAnZWagAAYr0P/Rpyxb/Y3OxDrTpBNtkE\n7qwB+Txm+p1lND2sS3WKn/bX7lROWQcBdHA2CyL54dOK7IRD3tuLQagqSZS3\no8nh5j/avwGoZFaWYS7zVXelIxZVbaJhCmpxFk/3Jht6otTvG0JS+XjirTdF\nxxWwm+O0rNDjmeeS/iaZMgl8380SVHsFXzGF2iy8/Rwa3nv5ib2CS6hxN0fD\nuAr+JoJVyIUzQLngHfDe3ssYHnL+AIJMT95B7pd7cyv4Ltcae+r6ABJlMckf\ncIDQyrDtJwer0LK/yO8q3X51w6v0DmqblA0Kky+aVKkFY/aLqMb/07cLb5e2\nYXAa6+0dIektkahelDwVCiqkN5FPG0pq3ap91QjT/JzZ/DYo82+n0C8WphPW\njD8ht5WkQoA1hd4huwEKzpAYhNh167UokIfcrxIYVJLk65n3JSG7p71XrlOY\nFTsne8uYgkYdY03VLd1E4MZeL6NprHOyuOJc86RC96YaXeurf+36Ge7xH6ot\nNZ7er/e5yvRsbi63pyViHOBJdD6hSPnI/y3e1jMQVrfZyeVfnd85K5mcoeTK\nghziIluSC+EDQbC3oPLQuRAGmiz5YnYCw79NYChYC4xnxaIlzEZ20pOoQu3C\niYLYPRdJOPQIpAWLZ02GWbY6g8qb8tXtI+lSH8lfRqn7vJ+76pnQY5Z1Gb41\ntfEa\r\n=ek8+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmkZdLeBE83tD5V1gMW24BQl6J3KBHA17UeEb42+rXmAiEA1sUl8AAUQacfJL+jr/6da2j0eoz3pNFXOPfCKYjJkzA="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.19_1555640651793_0.8587721301781754"},"_hasShrinkwrap":false},"4.0.0-rc.20":{"name":"app-datepicker","version":"4.0.0-rc.20","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && polymer test --skip-selenium-install --config-file wct.config.json","test:ci":"polymer test --config-file ./wct.config.ci.json","test:sl":"polymer test --config-file ./wct.config.sl.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.5.0","lit-element":"^2.1.0","lit-html":"^1.0.0"},"devDependencies":{"@reallyland/really-code-configurator":"^0.2.0","@reallyland/tslint-config":"^1.0.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.16.0","typescript":"^3.4.5","wct-mocha":"^1.0.0"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"de891e3beb1861bc7fb8f25d03bae04c88d337d1","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Chrome 41 ([WRE][wre-url]) | Linux |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Demo with code configurator powered by Glitch][]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Demo with code configurator powered by Glitch]: https://demo-app-datepicker.glitch.me\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.20","_nodeVersion":"12.1.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-uIphJfnXMzrMTiNCjzoJGhWGRaD9hFNOQGAvjTdUNeWuF7YM7XwHZaRrlNsP0WI3mT1+5E5K0FKAUtXA82Y+2Q==","shasum":"88d593c7b33b141c2f8434854186581597046014","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.20.tgz","fileCount":31,"unpackedSize":237281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyTQqCRA9TVsSAnZWagAAooEQAKL6238QsDoAysoTyoZl\nNpuZ0NI5aUVXJ1LYbmsRdfy4jqWRYcmKjwXFMbbABqpglZRDMFa5g+4Nn7E+\ngDZNTWhd/SOT/rumbLPa854bt417/0HDCafhir/ZywXX+mpH4Xsz/X5M7aIA\nL3WRQOUuTvNQKN+rVQv/Wp8QwCxmMe0hP7Z2zlG35kOJ6JOpn7f8pRKVWkOo\ne0v3T8O4TWG/H2YlAzyyNUJpPbmVk2Fc8S1bqvmgPbaRi4U+UcEN1xvzjRyG\nNY/WPSAuASKTUQ08+LyzaRVoUm7YlJWbU17bxTiBJdXUM20ETx5hXZuc9PVt\nw+VWaBxSyv6kKxE3uP+O/1InSeodiZHd4PlCbYFxkEeZXns0oo/of1/DiL88\n7FdbVidn1AWekJVLpjJiLI8X4efZtWYUVBucqklAe2I03ICx6gGo2+0frfsq\n4FIa1FGX6swZUumRT2usXHeB6lpoJCLgcLxBYCGc2hBC6IxuzfYm8DKXNNRe\nzou6Cp7a130LIWI/PUoH+t+52F1IWnaDTT3WxuDjDJIQKK/VVddrxKCOeoPp\na+Csm+/fOkn+CxaZU3fNIattQqz7Kum+2JuGXi5hBmJdIVgD5mxYwn3b9OmD\nuH3ne3ZbdxP/T0UuZil2myXRsl2+rb6s9LxvKrneuJlX0SPRFc8+Y58XX6e7\npNMG\r\n=Yw0U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIERv0vlpNw8AfmxYVxTwIP/Xi0tizFvrBXzR5h5EudwRAiAWCucB+hgd7B6CtDPwQ3iVabFCKbdtKLFeZ1e+QFOqQw=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.20_1556689961867_0.5481350425157812"},"_hasShrinkwrap":false},"4.0.0-rc.21":{"name":"app-datepicker","version":"4.0.0-rc.21","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && polymer test --skip-selenium-install --config-file wct.config.json","test:ci":"polymer test --config-file ./wct.config.ci.json","test:sl":"polymer test --config-file ./wct.config.sl.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.5.0","lit-element":"^2.1.0","lit-html":"^1.0.0"},"devDependencies":{"@reallyland/really-code-configurator":"^0.2.0","@reallyland/tslint-config":"^1.0.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.16.0","typescript":"^3.4.5","wct-mocha":"^1.0.0"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"13fe3880adba013f6402025f319170d60003b11c","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Chrome 41 ([WRE][wre-url]) | Linux |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Demo with code configurator powered by Glitch][]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Demo with code configurator powered by Glitch]: https://demo-app-datepicker.glitch.me\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.21","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-0Yk7mBYVQynIX2Xj63WrBT3hnjPqVlSPb+lPfVMGRtsZeF01/QfNIsoZcmc12fY/lfM4K2CovrgnfT7sdbrdAA==","shasum":"2d70d782fc1f4c23fcd72ea516f4ca6e3857f525","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.21.tgz","fileCount":31,"unpackedSize":237261,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3VbKCRA9TVsSAnZWagAACDMQAJRM/2LmWNIzFhleZS8C\ns8gdF8CsIcnarSSt9EuM02Zfw2VYB0pbg2fRcyNQId6pIiuKRvzGhmoRUYgV\npXBuwZvaq42j8E5ugjcDm+knSrKUHtNpjoqsWiNqrmj8flRpmnUJKsJG8lrY\n3/OOUS2Ch08Kp96e+WibEMzSYiOHM5Ih7C/wqUnjnOpMzCG5bAaKsRPPsSgN\nQGsQN8wArTQBUkpdc7OZoagI9Des8jj6RSF8Renk/v1SOIb1fsojJLdFqiuV\nzbITtLNFRzO+YRyyOy28TNqituySFlpwaGN27ipBEp6Lx1A6rEa/FCCHmne8\n5DX1uF6uH6gE5/xFfCTlQDwzyUIkz9RmR18Saj1ADwOwLeZ5983iS+SfIR2z\nGk5dMkkDxC8D5NXedJz7jMb20ApM6kbIvrXH7l4Cib15fJiSQ8/qeeEo8/IR\n4Le22sCrIXLrl/yrtvPUhdRJzlua8ahhtmqi3ih/RdVBvuZcdDEczVZr60re\nujOeSbC+YnBcxVSJ/gTh5HAtCTnaD/sSzWLXKpi/ppv9ZA/8pKH1LzuVcmeJ\n/fq6jQxA7AeYLUS09RX43KKXfC63PxnEp6wmjxkgamCzWfV8BVw+yiYDgt2R\ntv1G4rAMN2CEyrEA75IbU8hi1w6gUrBdo9ISt4+/hYt8oxjhB3eChlN3Y0ye\ndwe7\r\n=zkcn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+o5iXsYbO511Z/XQA/9eqF8BmUVcOmiVT8Mx3fID2mgIhANVf/efIr1bxlDOBThSaxYTBEjlTzlKdiVjqreLDp+/C"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.21_1558009545704_0.7692706836509513"},"_hasShrinkwrap":false},"4.0.0-rc.22":{"name":"app-datepicker","version":"4.0.0-rc.22","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.5.0","lit-element":"^2.1.0","lit-html":"^1.0.0"},"devDependencies":{"@reallyland/really-code-configurator":"^0.2.0","@reallyland/tslint-config":"^1.0.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.16.0","typescript":"^3.4.5","wct-mocha":"^1.0.0"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"c0dfc686031ab852a622c3d35030154c0a7adfbd","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Chrome 41 ([WRE][wre-url]) | Linux |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Demo with code configurator powered by Glitch][]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Demo with code configurator powered by Glitch]: https://demo-app-datepicker.glitch.me\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.22","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-KgCrf8xzTuXSpddOCnJI4PP3nBWsVqRRJrFRttkxgljpfgZsJNyICT9ug8m04Hblt2rB8q01cH0s8zhKKsMbXg==","shasum":"e759918f4a0a552825ef5a757fbc9414288a8870","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.22.tgz","fileCount":31,"unpackedSize":237234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4OrhCRA9TVsSAnZWagAAnnAP/1MePWpgoLsNDiv6Vfnh\n1NIiqIyq/00DK/krupb8uYJVQOJo0Sb6/G8FqRZ4QfRggQGt8ineuXm1ddi3\nWlkbVB+//znG+BGj1UEfUKJT6NxXRGT8j3+uTnTub6OgDOS7dQfMmYIeZuGh\ni43XNS9JRLp1AN1Xmu/IYia+a4xGoFN2VNp6AIBBCS4SwcO7QlG14BssPNuH\nNtA7XKXBJeXv+mu2Z+36F7ZM3zW6F6gkOQgJGkkoS9XGce6+KdbawvLC0D5r\nebvkXq8eh+FkdnyYTFbj1O4y5cLwxzAmtkitaHVAyxdpnIMZtzAJA8jAkgGs\nRcyLkX+FvtKGboCPiTKZSVBXMhJ0nRFLQPrLr2qux6bAq6dJw54pli3BGVLB\nVh8ENfWYJnWyEZbw65CuFv1YxuOYnggklRM/gNMgt2gerjhHWTl46uZjP6VG\nfSmFZME0dNWP2Bcdrg4hIaqfvj9VpxblrdC5cvV5XWRpqBYFkJOuS8Hq2x69\n2PBtdiz06FcUX3K5g80G1rGmAU2xyLhAW/9FJgSMHaNbudoMiIK2BXDrUxkt\n6AYGoj2lmAv3BWEgsPQeh0l9lHV1whxjlvj5yl6BZCuN2y9Vw7yeW+i7Ydst\nam4Ond8fS+h/BIvRyj/H3B8U+/XNj2zK0BI3LeJ1C0/oiYXr1eGE7dKJ/Xu+\nTLL0\r\n=2dcL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICCl6+YYHXFWDunPxSjr8EIF0aItfm0o+V7sexOVTYumAiBFa8eANFurY8T3/N4RZs1kB7tceSfTMEh7WlMWQp3jEg=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.22_1558244065091_0.37789970057281863"},"_hasShrinkwrap":false},"4.0.0-rc.23":{"name":"app-datepicker","version":"4.0.0-rc.23","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.6.0","lit-element":"^2.2.0","lit-html":"^1.1.0"},"devDependencies":{"@reallyland/really-code-configurator":"^0.3.0","@reallyland/tslint-config":"^1.1.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.7","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.17.0","typescript":"^3.5.2","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"753fe3df3fc9d2d35ee50d9630ea45486a5a5a9e","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, Safari, and Opera).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Internet Explorer 11 | Windows 7 |\n| Edge 13 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Safari 9 | Mac OS X 10.11 |\n| Safari 10.1 | Mac OS 10.12 |\n| Chrome 41 ([WRE][wre-url]) | Linux |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Firefox 63 (native Shadow DOM support) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Demo with code configurator powered by Glitch][]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Demo with code configurator powered by Glitch]: https://demo-app-datepicker.glitch.me\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.23","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-HTT6gTvuCzHNcOY5Vt9Ssve8k5ivfvgNPLvpz7FPQjudxhki5iEuf4FuGLF2G15OgOBOBM3FHl+TFmCW4TQU0Q==","shasum":"877174f0cc12600a509f62f057dc0bff15932b9e","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.23.tgz","fileCount":31,"unpackedSize":237234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBf3SCRA9TVsSAnZWagAA3ckP/2DQXSdc5KZXga3wDepj\nCr3Dqpl64Xe8Ixkj2FlS3BUAqmbA9ORCsecCggbHkIhRrOOKv4BvMHQ9tS7H\nnI4BX11TnEs4jcEobGpFMwXocw2+VL36IP4p7ieSSOK90nyT/iROMILXwdbB\nSKVUOP0hTLi4SHpAsUM/doQ7KhkYQdTUM1bJC1yTk+FiL5GAt1b1HITRkHB3\n9LoCUxIyaYX5U6ps+Lph1z8+3ZsyhTVNINorPNL5qyMry69RsYL9Q1xMKjIe\nimohJD5g23R82+2gd5tOcIhYRGvJMocSbhjxdg4IgfyCbHEn4kFYtroL4cAd\nu+Ee3gPNcS2S/FVaimiqmieuJvOIBkt1xV+VDEyCzvtpsIS7vuFD4crzlfwe\nQIGYoWHBAWZp60jGBWhzGAp6vjWPjrCXpQtc+zVPnK8c4HBuhevLaCSNjGCs\n/EB/YV8rAEH5Vui4aGrSPrKxEOvCknlTGf1Te6PA7LtHJI/s5IM8qJm6xu+r\nKO0co/uDy0g0JE6iSy/sRQszDTu+3JgGaOaMYdGDoMOqwiDJ8n/j+jcM32X/\nbFGh83S2ni0QgHQ66t3DEx0ECCUIUZIzjzLOsegzspjguWyB3avpekACWdhp\nw+vukWX0MXEhCZcJAn8qu++vMRhH2DzP+wB7B/sxdgU3fmzsiSpFmJNTs6t9\nxw8q\r\n=ZvXo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDD5sMxjP81u36/qT06rnYkal5++yDRiatKdyAm691nHwIhAI3DejuacEq4PX2hfteyHzwMIAMHi3+T3jAHjv5RNzqI"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.23_1560673745837_0.6500760497072771"},"_hasShrinkwrap":false},"4.0.0-rc.24":{"name":"app-datepicker","version":"4.0.0-rc.24","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.6.0","lit-element":"^2.2.0","lit-html":"^1.1.0"},"devDependencies":{"@reallyland/really-code-configurator":"^0.3.0","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.7","axe-core":"^3.2.2","chai":"^4.2.0","mocha":"^5.2.0","pwa-helpers":"^0.9.1","tslint":"^5.17.0","typescript":"^3.5.2","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by CodeSandbox]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Configurable demo powered by CodeSandbox]: https://pvzdl.sse.codesandbox.io\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"9624387e04c286665f95b4b66559042ff3dacca4","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.24","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Izfaxyun81iryA0Dy4Om3nMaJ644K7DiDw2f6PT2bwFodtsYjZtgxiszSCryIefIOQvtHX4FuglsglMZ2dgfgw==","shasum":"0c67389b2f73ddb5734f67c31de6b38d77d8af42","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.24.tgz","fileCount":31,"unpackedSize":237154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCQTbCRA9TVsSAnZWagAANO4P/i5Z9A5GzU6oZ5xN0q07\nA/vOfWER7zhXe63z/UKEFIjxlZy1tPvDYWDgvcpVj0ZpVc4peVGMF97jGIr7\nZW5VEA5wPajlmQQBvZpLYhiCLwVo/sD3Y/b2oOzqxiyl0BZYSaSIgwn4b6qg\nwkVQ/4R8TXSxY4w0yAEj07FfUFMbqSuOs/F/Z/b/lmjFZdjaUgsqCPx3uVEo\nmrf0q1KWxTkrxmHT+hQ7K++s35A0Iz1TlySBO3LqWN0NnYxAkUTxVySvXVS/\nFwf2PgDhuGyuoUKkVWXdyqEuOB9cSc3vuoVxzF+auvsxC2nbCNrOlNq2vN1k\nYtc+HDt2KsUgPFlv4ReWMyTx4WJtQvu2z3fTLmmrsqCLT7UQ0NAGG6XxH8/N\ny1bmYPmobL9iXB1IV6awgf5rcsyYr/mtHoSOnc13/nIrFONcA/mzLSMSuebw\nlPMM5C0xqeNsyA8LXK1UWM1Mh0iO/u0XeFX4J5rNYvMvgfoTYIbvdYMhA7/7\nxFLDmHsSsD13AW1ahViNrFqQG5G/Yecimzl2w3wqrR+/LpsljO5eb/2L2oCv\nO4ZYBO5hP05+N5+acfIQ8HylvzrPA7/O3gj1yKtXx8wBM8kg3TnK8xNnv57B\n6qPDWgVI7JvSmbeZ24QnVJsEJQjgkzSiLms0E7ZDoTLwNq7uDEDgpUbSvYM1\naFkq\r\n=eV+N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBBAXuVSGd0sg8bOtlqRD31MeJTLY9r5QoZgvVDuGFxkAiBe2SviR/KCyHMSDpK7JLICWWRsRJf4Ag16hPSXVGemgg=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.24_1560872154548_0.8785064629253914"},"_hasShrinkwrap":false},"4.0.0-rc.25":{"name":"app-datepicker","version":"4.0.0-rc.25","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.6.0","lit-element":"^2.2.0","lit-html":"^1.1.0"},"devDependencies":{"@reallyland/really-code-configurator":"^0.3.0","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.7","axe-core":"^3.3.0","chai":"^4.2.0","mocha":"^6.1.4","pwa-helpers":"^0.9.1","tslint":"^5.18.0","typescript":"^3.5.3","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"f4da211ed5a4b3a270de19ecd41a260d8a29b047","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by CodeSandbox]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Configurable demo powered by CodeSandbox]: https://pvzdl.sse.codesandbox.io\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.25","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-xHFnBHce6DixZel6CwQtte9xqX6BqXYRT0SbZuLFPUSD1YecS72BclIqOFk6OZEHwJqRwqe89pbY4mouEUkqVg==","shasum":"f6792a76a6b46cc71fcb8c106589aea8746dcad1","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.25.tgz","fileCount":31,"unpackedSize":237154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJKL+CRA9TVsSAnZWagAAufIP/3B9mWoBCg8LxZb7Mhqe\nfh47zx1qr6EZ3s8kd7MwL20pXcDvC/tsfGHa91DXVeM9MOSN3JnBUowcz3Hp\nb2Db/76nvpM+29l2YxOztzd0hDt6VXap5rnVhkjEtJ5U9mGhYXoSMC8hRW+D\nL16gOc2Y8ZReSRooxOMErT6DPQFfmNpce+dvhf36nOz8FORVMgFHgkk0FQPU\nTQK9w2DIB3+Qfuazu1dOcTlstcttmpG7/FNUhV0FfpQ/sRaNvkmyAlgJuKAt\nakm7jePWFzpPkWodC+VWEpLj8wueZyyMXlBZhuBzpwzefmro0v/U/3vhB8aL\nz0xQRKoLyvBEJkBJvdACbCB8jnEb7TuLhp/JhVh0bfuscsqa0ePGrDrcAyqY\n4sjZoBC5uzC8UlX5V1mrNK+UamOBHcuE817FaN/SG3P4DVVrkOMTOLK0pxTb\nEINAwBlmOtRboissOXxath7USBo4KenpEVlWM7QDLR+Noy0Qm0ffTNk3jv3x\n139FaI70BCy5T5mw2xXJ8+7sOtdske1eBghswSoG1IMcg6BnzNqZp1X0JYix\nNHExfEoIrZxB1iebXAvLOl0ZUyhYMX/fkf0V+J7UO/a7yYB4tcu43u7hr31D\nlE2A9XkPZwW/N++wXoBtM5YkRPobL4Ke1gdHODjat0MIqKmT7KwYJFd1Pqh8\ns2zR\r\n=grah\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHmgDMa9i4NezLMMTDFqRoieGrG32Dee9Tw4FzVMI1mAiEA/WwXlcuswUUxlTYDXtF/ua5/4b+fQdHy5zxKvmu3zB0="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.25_1562682110129_0.7196157489005583"},"_hasShrinkwrap":false},"4.0.0-rc.26":{"name":"app-datepicker","version":"4.0.0-rc.26","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.6.0","lit-element":"^2.2.0","lit-html":"^1.1.0"},"devDependencies":{"@reallyland/really-code-configurator":"^0.3.0","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.7","axe-core":"^3.3.0","chai":"^4.2.0","mocha":"^6.1.4","pwa-helpers":"^0.9.1","tslint":"^5.18.0","typescript":"^3.5.3","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"5b40fc327c2ac416d98ba88341d9bfca7585a5fe","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#Pre-requisite)\n- [Installation](#Installation)\n- [How to use](#How-to-use)\n- [Browser compatibility](#Browser-compatibility)\n- [API references](#API-references)\n- [Demo](#Demo)\n- [Older versions](#Older-versions)\n- [License](#License)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n* [Web Animations]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by CodeSandbox]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Configurable demo powered by CodeSandbox]: https://pvzdl.sse.codesandbox.io\n[Web Animations]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.26","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Sxi5ZY4m4+mOdKH+quiro/cCoP4auFaeywiV8ZnfnWz8InjgIBLqLTboIrjngd3Mk3xp9TiWzgpfZdlgwsQMxA==","shasum":"de8f1e7d99fda7efddc4cf7df8065284c33d9e81","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.26.tgz","fileCount":31,"unpackedSize":238817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJey+CRA9TVsSAnZWagAALhMQAIAi3CASsd33C1jaW7fH\nogcT8SolSyb2rVU/L2wPppU5KBd2rcKszR9AbF3LYkz2zAfX/Vvc8bpLCUbe\n74I0X6oT23ilmYM4OhR9L1INQtpTqyZMpiZ3eoo0vyprqyHjyQZYe3LpqKre\nN4chJ3G7hz/MDfENigzoHAh1nP43V2x5pOFEyqarc7o4qRZ/ttwJf6Wp5PJH\nONpl131XuME73QfXprbVoaaBZ2H9E+asbXk8E23AmZl1KVR2Q2waqfiKrtqZ\nWdk6Cb16DJopmOPchCyGzorWS4NBeMYZy2pDxe1a6JHDcPbfkExRbmfmQECh\n5Ley7Vd5xxt1Hqhd1vd1N8LgxtCZ7Zxp0ZjCQwGMQS0Dw/hkg1F7Mdp5uy9p\nn8sMUEi8sp5ag59JYq+CrS+QNOVR5qHoeuYwTx/HbZ9JSOWJQw4sE9N0qwqJ\ngbHHtGjyZB2RNq+BXPWaokuR8BeQ5PWVabN9VD4Fs6E/B1LXVhvQPWPfuyK1\nrO8MZ+2Y7Nku93Z56jHgVgsdweHS2SETZDKQIPnmmVipwk3ypYWQQ9bCul2r\nT4W7kEJVbTyYElzQDhegBAmeprw5FvaPvBTFKQ096v8sSHL/MNGVzzJI3qiS\nbAxpN6NbyXOud+yLEz1Epa89xFeuhkCn54sTaGWvzLYn0yiOOWZHpvFxjdZD\nyPgy\r\n=Ui2z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHC2sY5JdykxldDKV8z3ZqR458vAGhgQ3AcmXXUs4bSlAiBsMHHQZ0e+qaolW6YnHthRagvUcj1lJEpbXoIOckH/RA=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.26_1562766525139_0.9364025498741639"},"_hasShrinkwrap":false},"4.0.0-rc.27":{"name":"app-datepicker","version":"4.0.0-rc.27","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.6.0","lit-element":"^2.2.0","lit-html":"^1.1.1"},"devDependencies":{"@reallyland/really-code-configurator":"^0.3.0","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.7","axe-core":"^3.3.0","chai":"^4.2.0","mocha":"^6.1.4","pwa-helpers":"^0.9.1","tslint":"^5.18.0","typescript":"^3.5.3","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"b6f26fc7fa31e63e9a76d70aa766b8ab14a59bec","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.27","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-WGGTQt1jDdLnr+owITQrgRIygIOGmNpyuSoIBT1WMKEcWqKpz9C4k3LUqW6SO1Xg46hvjqlMHkf6qDX53ZSwfg==","shasum":"01cf46a913920f3b934e9e27bf4b3b0c08944e9b","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.27.tgz","fileCount":31,"unpackedSize":238817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLHehCRA9TVsSAnZWagAAg6MP/A8fL0sbtQvLCpblxji4\npN/poGfqEogMSH5sSyUWekt4Er+grCQCNK+hTsgKRWhvgXqe74fm/leefO+K\n7NsEWGp35sQ/Jiyi5gch8s91AsZI4VGKPVRjnC7++LEt2NT9/yMbQhedaPRq\nMmDRNZOrkjEVMJp0hPk7FBe4t1KS4EnRgcCWbZj/y3czjaKCfP7zak8qbNI6\nHcoE/gq87WTJIqUJxftmbGr077M5Fv2zuR6EnUKWWDM2dgCnHcLVTqJPhZxD\nT4qWI/64I3IpXHxqpmbvhQQvGA2kpBE7D9imMh20ByKBAjpxmXjNcYSzexeF\nuMRYDk4N81soP7JBHTvbbTwm7zWJHsvDVuA9l3cxCtzaYz42jlTEMYDVoWg2\n6dvx5U+FlMF1wC7G23LfIynKBW6g0DCW4v4CuoBW76TDoW699K8skJYQjRw9\n0KQmrip+vu1XcJA9AivoQEFdCdMI8GSum5hgrqhBqcr4kkK9TxBy1lILKT24\nbZRYjwNXi2wBZsE17ITljk8rH7pxpur2CTilMYAKLEyI+EpcriNETU1VRPpA\nyZBDThWdeRPg/FvoU+iyGu1WnD9S1t100x8Q9hMxY7a6b9E1nuwiaRB5zKcF\nVQ0C0KSO6lGufmFNJitPTGb5spIHCkmlrWXAr5nRancsLtbxchzWJWPIBZHt\nEOLD\r\n=095S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFZ7RlepnqNFaXRwxCYiHvmBhIsXO1q8y3aK7/j1pfH0AiEAvYIqaYQJ6p1jD//3+B2eqzxtq9tL8jytyFyoaxOTb58="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.27_1563195296539_0.18957756063658882"},"_hasShrinkwrap":false},"4.0.0-rc.28":{"name":"app-datepicker","version":"4.0.0-rc.28","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"shx rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.7.1","lit-element":"^2.2.1","lit-html":"^1.1.2"},"devDependencies":{"@reallyland/really-code-configurator":"^0.5.1","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/chai":"^4.2.0","@types/mocha":"^5.2.7","axe-core":"^3.0.2","chai":"^4.2.0","mocha":"^6.2.0","pwa-helpers":"^0.9.1","shx":"^0.3.2","tslint":"^5.19.0","typescript":"^3.6.2","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"a37d108ba906540fa1e8e7e2126f265164c9b225","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#Pre-requisite)\n- [Installation](#Installation)\n- [How to use](#How-to-use)\n- [Browser compatibility](#Browser-compatibility)\n- [API references](#API-references)\n- [Demo](#Demo)\n- [Older versions](#Older-versions)\n- [License](#License)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n* [Web Animations]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by CodeSandbox]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Configurable demo powered by CodeSandbox]: https://pvzdl.sse.codesandbox.io\n[Web Animations]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.28","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"integrity":"sha512-dYyClks2u/mVADKE91ps6C3XlRqLwTo+XkfKP7nvavpvqMWSj/6FL/a90EOORCqZjH7Aje5QJdsKgNG+Ec5WBQ==","shasum":"ce56e86ac4b0271dd083ff0469bf4561d72d0f87","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.28.tgz","fileCount":31,"unpackedSize":238842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbpIdCRA9TVsSAnZWagAA+8AP/R2zzA+oWoI6/Et6Qten\nXNk/RYSuKYjOcFJVvl58rZCCIXgk4JZXsrQ0hBE5eXH1o+aiAt3+WiAXATui\nBy0e9VZ28wLr9TwjwHaABJe6dttr6RyeW6PNWaYJhHOimMLySUbTURHHUmoi\nuZ6uulQci06yC5jimt5StxGTqUa/sMi7xdtsKH1KSkf5pPhNyZYdGksXTYyx\nsdNYFNFfpHEC7UVCkbhQhdsWTtbpLIlHo4pB0hNCUpwP2I0zPD7JIATqkhGR\n9hyX0UKGEPm0ULv47f9G6p4D0a94c9sbBCJFFhNwnx7R1qfUILwiKVX2nhlb\nRY/IfXwvNkKgq4ove90kq3mUV/OBt/uiCwVBaQKbz9V2cA4OYwVEhUG8zvNq\n1U3RDhaBb+P75LZoWd/b5cmGIrcMvr9qS7Y0A2x45SdQEyFywY3U8ZL8F6iR\nClEZD8dtzUqBnzoAIIOMS/mVXw4hAqjwfMxZnzlXGOjZKbWuTZAzJ3yawBUO\n5bI+pVgLwi48RhQvlRxxFXDXllLKAOeaW7BKYhwYTvUh7BOUKLw9+/N47CQ7\nawU72APUY9rltvrkt2aA+VKtzSBrWaO3Xq0yixEyWQE1wq924ZyMzWXJbkf2\n1Fy+U7IECdusgta/27xJm0CfLMvtdRYkvsjpU+ZniwFez73e6QE/gRZszpkM\nFOu7\r\n=SLtR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID8f+Vwvc5WFe+SLlAlLkNhYJ+dwQkpA7nBzCS22dEPHAiAItznvSWUTrt1ywI4rWYtZu7VJt6GdBqkWudAfpyD3zw=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.28_1567527452632_0.33348198595920486"},"_hasShrinkwrap":false},"3.1.1":{"name":"app-datepicker","version":"3.1.1","description":"A datepicker element based on Google's Material Design built from scratch with Polymer","keywords":["cal","calendar","date","date-picker","datepicker","picker","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"app-datepicker.js","scripts":{"document":"polymer analyze > analysis.json","test":"polymer test --module-resolution=node --npm","testkeep":"polymer test -p --expanded --module-resolution=node --npm"},"dependencies":{"@polymer/iron-iconset-svg":"^3.0.1","@polymer/iron-list":"^3.0.1","@polymer/iron-selector":"^3.0.1","@polymer/neon-animation":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-dialog-behavior":"^3.0.1","@polymer/paper-icon-button":"^3.0.1","@polymer/polymer":"^3.1.0","web-animations-js":"^2.3.1"},"devDependencies":{"@polymer/iron-component-page":"^4.0.1","@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-test-helpers":"^3.0.1","@polymer/iron-validator-behavior":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-checkbox":"^3.1.0","@polymer/paper-dialog":"^3.0.1","@polymer/paper-input":"^3.0.1","@webcomponents/webcomponentsjs":"^2.2.1","intl":"^1.2.5","wct-browser-legacy":"^1.0.2","web-animations-js":"^2.3.1","whatwg-fetch":"^3.0.0"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"56a504f0040848df3909d06b58d66f11fe318d2e","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@3.1.1","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"integrity":"sha512-m2+3p4yH56fNSLLWZaDewgEdFSN7rMAfSCightL0LdUIshldNkMRIIjDc1SCnhDZMzi6LX4gqSkmBzQB/gdGGg==","shasum":"5edb5dddee244233f0eb827c8ae061247161cfd6","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-3.1.1.tgz","fileCount":14,"unpackedSize":120053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbpM8CRA9TVsSAnZWagAAlToQAKJvRXPCWOOB/0MQOCKO\ntL9XCu5XKmQlsg4kgrZz4GHiaxxGHc+qaSIacb+vh907o+WneUuFCiwZkuOs\niMRl5lPettIIQje9sG0IDNJ1nZz8TX1JbPxpPIN3MBiUDkUHcOYLYInQrc7Y\nwNnZzJryYqgiO3/DfYqDz+b+A2eqtnZ32Ohl5SPfFQHRzQa2UjNAs06iDLpO\ncsdCh2+ln7SKtDjaQYABnCITkeIJVW7231pcrXcah03/Umzalo9/LjYVVWES\n60WjCjEfhgGPRKDrOq57G9Z17V86ONUJjzW2kuijqkUx4xLYBKhLAZWHaO45\n8HmxUNnOabgr+DWZaz2HiBMFz5UkWBOpSqVoOIkT4QndEMQvVlF1LxHTg5Rc\nNCEv39XR4kpvOFNxAu4JpcOoT58YE8wnKs7By2YPFadBXQmiv7urwjyoH/w/\nuRtCoZBO4mP25XHSRdbWUe5nZLwddJvMqxCW/wNoTQDEtyckxWvrGsGf7f8t\n40A2OGwphce+A52JWo/8y2o8hg4DzlHpvvceDLDYyVqAKZQS/dJfl35fdMqY\nLoB+GXNuTH7Kq1Z62kLDx3F3iCIfmtIhUuc6TrZTXJ0v5iNNn4wdvnAZ6MoU\nw6eiM1RVCYOm7TTw2YvwiN1z/e+QV/nB0HO88bjmj0yHa5u/15Kns+x/UsoB\npHl1\r\n=AziV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4qNKjekDbw6REFHwx5AlRUDW45ZSM+2ixdh4OXnGLxAiEAuUUhAISN0Gqhrl+YoozHrcVoTT/rSa0HiuLVUdeYhsQ="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_3.1.1_1567527739647_0.2175248023821874"},"_hasShrinkwrap":false},"4.0.0-rc.29":{"name":"app-datepicker","version":"4.0.0-rc.29","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"shx rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.7.1","lit-element":"^2.2.1","lit-html":"^1.1.2"},"devDependencies":{"@reallyland/really-code-configurator":"^0.5.1","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/chai":"^4.2.1","@types/mocha":"^5.2.7","axe-core":"^3.3.0","chai":"^4.2.0","mocha":"^6.2.0","pwa-helpers":"^0.9.1","shx":"^0.3.2","tslint":"^5.19.0","typescript":"^3.6.2","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"9c5c98c41fa212244ff061db1d0b2d1cd586e1d0","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#Pre-requisite)\n- [Installation](#Installation)\n- [How to use](#How-to-use)\n- [Browser compatibility](#Browser-compatibility)\n- [API references](#API-references)\n- [Demo](#Demo)\n- [Older versions](#Older-versions)\n- [License](#License)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n* [Web Animations]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by CodeSandbox]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Configurable demo powered by CodeSandbox]: https://pvzdl.sse.codesandbox.io\n[Web Animations]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.29","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"integrity":"sha512-Ub7oKeYk2RNlpxJPuGI5vf7xJYEKqS2+6OmMH73lAiuoHcwf57p5kfC7AGbPPlzyiLkTdQF6dRWGsvMuqvNFKw==","shasum":"3518eda2c07c39fe5754866f347331534d8f0ac2","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.29.tgz","fileCount":31,"unpackedSize":238842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcPHZCRA9TVsSAnZWagAA7kIP/A6xJYIj0Ncw5gnjUq2k\nLvvFrWCpcV3+/990wbhJ/RnoqJQOeRCUv23BduSpF4Eq+lOyFoMwl+1W9ONs\nV+zuVfZ9BmNtQl8DCW3fibrmCfZP1dZ7vC1V4FeYdLIiFNyHiak46G4Uk7ie\ngzUSB+IkN+j3ycowQcAotKZlpSpUcZaVoZmENk/p0+d9fIrKqbzgvrDz+fJH\n9foQa6qlnv5gie6Zj4u65YgUwC8V4lTSZUsdZ9du1kwwJGpfF+tRx17naHyw\njhGpC5ag4GbOv84Sw5H8nzc9zIvwGb1iydy3DBv0v35SlyPUi6xuGhjX3l6M\nhmCTGkO/BCLxT39boCu9bX0ct/ALXVd8Kc6h2DTlt7FAVDMmo+PDVHD2rMXh\nqp//M+wSzvRD8yZQl2qHYkRsIe/GjZoWLxvOX0YFRsciFkwa7RP4t3fKAvsT\nGpzyJQTeNjyf85RjlbBObBFM7L0XegbgUnHe0rgB2MvdtJ1AC6QJFEKUNrqe\nMUtdm2Cj0fjOWhI5F3NqxnHT15kmveQEd8kohExMmgKGL4USXPLrpiK4F2in\npK2agvMLbNxQkJopN5zVeJ8gYR1WrKvyqSbYCCyOqCSxg81NfT5TyDJJC5I0\nAsKp9EBepUnoCjMRcycpijy2tyzlCMgfcY9CUcrVZvza12sGmmUl0BivAjQr\nP6zl\r\n=DIi6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCinMFwIu8Bb2nZZptVE4tvPd5mfmJDso8DpfprmJoKPAIhAMUDs5AeFouJIB3Yo6iQXHbu7u82BfO/Zv5k9g5ATb0v"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.29_1567683033065_0.5093096177884269"},"_hasShrinkwrap":false},"4.0.0-rc.30":{"name":"app-datepicker","version":"4.0.0-rc.30","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"shx rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.8.0","lit-element":"^2.2.1","lit-html":"^1.1.2","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-code-configurator":"^0.6.0","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/chai":"^4.2.1","@types/mocha":"^5.2.7","axe-core":"3.3.0","chai":"^4.2.0","mocha":"^6.2.0","pwa-helpers":"^0.9.1","shx":"^0.3.2","tslint":"^5.19.0","typescript":"^3.6.2","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"bae7595998b5ff0614728330f75e31f206e7d04c","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#Pre-requisite)\n- [Installation](#Installation)\n- [How to use](#How-to-use)\n- [Browser compatibility](#Browser-compatibility)\n- [API references](#API-references)\n- [Demo](#Demo)\n- [Older versions](#Older-versions)\n- [License](#License)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n* [Web Animations]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by CodeSandbox]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Configurable demo powered by CodeSandbox]: https://pvzdl.sse.codesandbox.io\n[Web Animations]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.30","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"integrity":"sha512-qm6GLEBRP575Oi6UVJrQOzy9JuwYcUZZIetItFAWpQOvUnSHseoy8FA76t14jfRxPVEWzyr0eauLVhNz2e65bw==","shasum":"f943dd2a10ad3327debeeaf45082a4ae4758a095","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.30.tgz","fileCount":31,"unpackedSize":237783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcm1zCRA9TVsSAnZWagAAvnMP/2ciM3S7n/zTwTmcRGin\n1Y9RPZbe01wqXdhslAdG53Ep5JRQohxEwlihlthDWLMrKKS9Qt69Q7usv3i0\nyO2AxH1qrcKCtBl9qLUm3QSEz6KZKAWAUB2f0Se57DxKWmHbHFp0Jmz6awVj\nFaFWut8VyvTdUEbK0WRtp10uwqko+/wS4slJ8hYfUjG0HVGxYbjdtUF1PeIt\nt+im78eiy44PxgkJtd0s3uJ6scY9f3+z+y4pLCAW78uDkQMfjWnwLoNRUDsD\nNBEjTtAKVqlxtfnNc/joLwmBBC1SfFIbJRon2rla6LbbQ3VrY9iXPjaJ1zUx\nVQ2wbmbeKh2Ge3UZWrL0/9ZDys2kKgr+o0m6b0K244PTj6s2ik4WmazfUjiJ\nUN1ao/nY2zexS47KhT0pjQ4+pbn/oC1ro8TiyI76lcO19HTr0Yb1Fw32mYZV\nxFvSCZuzCvmKcLMQCJ4uegUCr70MhyiVJgtuTiG8PBanpE7/M+ocxd8QqD0b\nuJ2W+p8G/t8MzBQOfPRgAIZIa5TxfSPnskm3LzEf1j6g3NHhcwnhG9Z+3K4v\nBLL/muDiNWisnL6hMLvxcq98M6RZN7pJQ9z4kogx8E2nLS20iYH/ZWJK3X6D\nmnv57VmJBnSVN1bB79mpA8PBOazBwBBT+cbsCGs3nDm94oT8FPwGKYIpepqK\nMMGM\r\n=6j0m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDP1cRiXQPnjNNpJ7Y3SZ1UmO9Tvgbo/8J7ObLVPwqjkwIgLvd+ZkOtnNLaml3e/V7ygKXddc044W8BjgFzeIVUzbY="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.30_1567780211263_0.5090994939411599"},"_hasShrinkwrap":false},"4.0.0-rc.31":{"name":"app-datepicker","version":"4.0.0-rc.31","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"shx rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.8.0","lit-element":"^2.2.1","lit-html":"^1.1.2","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-elements":"^0.1.0","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/chai":"^4.2.3","@types/mocha":"^5.2.7","axe-core":"3.3.0","chai":"^4.2.0","mocha":"^6.2.1","pwa-helpers":"^0.9.1","shx":"^0.3.2","tslint":"^5.20.0","typescript":"^3.6.4","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#Pre-requisite)\n- [Installation](#Installation)\n- [How to use](#How-to-use)\n- [Browser compatibility](#Browser-compatibility)\n- [API references](#API-references)\n- [Demo](#Demo)\n- [Older versions](#Older-versions)\n- [License](#License)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n* [Web Animations]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by CodeSandbox]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Configurable demo powered by CodeSandbox]: https://pvzdl.sse.codesandbox.io\n[Web Animations]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"b1de91706f221b55a8228103cc77f3e2cc028610","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.31","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-U1ohmwoq8uGxhBADdgWBVWXwjzuKobk/4Fe0oAeOUSiTLCUGeEfp4v+7nMpzqFjn57mOEAxwyVCUtnBcuF8F+Q==","shasum":"d7a3b9899cbee8f79b167daee578475d9ce9b58b","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.31.tgz","fileCount":31,"unpackedSize":238340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqbPNCRA9TVsSAnZWagAAJgMP/1XLgGEZ4cRfOQ8Zfc7S\nGEIu72mzmjWkzjtNX7fYySJ/+MogBl7mh4/UAR4pLe19CzacJuuP5yezZTWY\nfP3gJTwdDcyBQt0zRqrWDP1pBGlN6wooo/xh4XQpE8caZdWkpnqhT0DvGCPA\nxv1B1N2WJK0MdtObwrz96CgErhU7iyWQmfWIlDyDgteU417zvog9aWAC/DNz\nqc+W1BA4phTm94K8XijqlSisLWLZ9Vn90IgCHPg3ou/4lcx8hwtfAnNYq5kU\nO1p431FG9I+CSfSaYB9AYwAh5rrpgERdej09H9h9ycRqF9QBDRWT30lZJSDi\nHIelY2NplfW4lyJNoZTRxRM0BGfNIdtt12s2VG/GD4JDj0YpfLnRob/bBM2E\ndUXqYagLaTNel5xIf3x4M8UR+C3TgeUCIvrjN1SRnSjxi5DywYDwlcm9kH/Q\nlN5M0D2gi2vu1B5lx9xmpNKRxCNF0WUGX9A/96+T0DIbnDqUa4KSPCesKdQP\nrJN4kZ/Z4e01fso8MdN/JMO/BAa5w1L0fAjoFrUD7Lhsduga+ClU3y+nVRIg\n2aEDB4/SMooDuYQVR+e+LqyFtpRt+6LI6ZcajrcZHpJe64p9MROCGMvnrzsV\nRA8IOj8QnU8FZnJXyQ8rIJcRhuOyf4Lo38OE9jOOCv2RYnaQg59mhAZCCphY\njhlz\r\n=4XoZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuUrIJZh7BS859csNkmrFbUuFFNKdkOWI/LgK/4xFNwwIhAOAnK2g8F3uhzSMnmVaMoT+H31oP3PXEj3+5JmfSuuoQ"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.31_1571402700835_0.7197557098618563"},"_hasShrinkwrap":false},"4.0.0-rc.32":{"name":"app-datepicker","version":"4.0.0-rc.32","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"shx rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.8.0","lit-element":"^2.2.1","lit-html":"^1.1.2","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-elements":"^0.1.0","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/chai":"^4.2.3","@types/mocha":"^5.2.7","axe-core":"3.3.0","chai":"^4.2.0","mocha":"^6.2.1","pwa-helpers":"^0.9.1","shx":"^0.3.2","tslint":"^5.20.0","typescript":"^3.6.4","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"aefdd05fed583f2465135938c7b7e7414d33f3c4","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#Pre-requisite)\n- [Installation](#Installation)\n- [How to use](#How-to-use)\n- [Browser compatibility](#Browser-compatibility)\n- [API references](#API-references)\n- [Demo](#Demo)\n- [Older versions](#Older-versions)\n- [License](#License)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n* [Web Animations]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by CodeSandbox]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Configurable demo powered by CodeSandbox]: https://pvzdl.sse.codesandbox.io\n[Web Animations]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.32","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-C7ESqBQjCgCRKnIZM7A+Jghb9bvpM3RTgEcMPLrI5IwEi5GN/wNORWnaHdqku2z5Ec7Vba5E+3z7m6ipgy1mpg==","shasum":"18740cdb342e1021c5cb0a5de546e83aac81bd86","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.32.tgz","fileCount":31,"unpackedSize":239135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqcGACRA9TVsSAnZWagAAMPgP/28JYV1RSDkK8TuR4cC/\nEx9uUC441I8MLQtaAdSbHylVW0QShYjfHo9fwDqB+sLOCZ+yWKk7jVXBlWC2\nbg/zXszDxt3aatt6xkSv1wzo0h+EogprJbqWmDHJl8CYBBrtPFVzHR/kVeH8\nbGKu5xKaq+m4H928X/y8kw0JeeeHBEiu10epLcAoL+0AaPTy6wGE2jyW7vZg\nkeOxowJA8XiLWDQhGEkRgdtU5QODJCKG4dxSO3dT/FmhVtAxKUJB93paxHSu\n/G49HxLBAvLtt5I7t3FUsZAEbqp6Wxdd6J6XtbCb9kuepxIPj2TSlhtt8U3z\n0HqNrc0C9wcvwoCcrnAc8z6OZMVNSSMn0WPoo7QVGAXgctP2WvUU7yj2Bsli\n7JPE8gdfFN/v+WklHt5urtZBMyN8PMxOfvPs/tRTT/hNt6d6gw++jWzuHH4U\ngqpSG6wEMps09sNTyhMe1ZWdegFeV2CMaQhQS1N9oM3hX8+Xa6pI+6k1z90m\nciPhfRtOD7CbuFnJY7kiD1g1lkw266VMhi4iL465tXtBEWMnpCv7VSrDG0um\nRpacK3ncFyctUPhfEUqJls5qMNFyyyYozPYlVw9RRYX8iDHsDoPa7h4lM0LT\nNbD8HyfB8Vk6ogyDRem1TlGE5Ozepje+E37diP7Eqr8Z38pk1l0YoCWIcsjR\nbYLG\r\n=Lgue\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELO35kGjax6Au8GaPNIdrfpPqtNYxUpidUBlaodlpxoAiEA/3srioitKalN0QdRamtocjdW9Lj17Gz9h0swXU8PWU4="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.32_1571406208023_0.2773347153696417"},"_hasShrinkwrap":false},"4.0.0-rc.33":{"name":"app-datepicker","version":"4.0.0-rc.33","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --port 4343 --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"shx rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"@material/mwc-button":"^0.10.0","lit-element":"^2.2.1","lit-html":"^1.1.2","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-elements":"^0.1.1","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/chai":"^4.2.3","@types/mocha":"^5.2.7","axe-core":"3.3.0","chai":"^4.2.0","mocha":"^6.2.2","pwa-helpers":"^0.9.1","shx":"^0.3.2","tslint":"^5.20.0","typescript":"^3.6.4","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"9fda00f61e134256389decce0add8782fbcdcbb3","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#Pre-requisite)\n- [Installation](#Installation)\n- [How to use](#How-to-use)\n- [Browser compatibility](#Browser-compatibility)\n- [API references](#API-references)\n- [Demo](#Demo)\n- [Older versions](#Older-versions)\n- [License](#License)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n* [Web Animations]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by CodeSandbox]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[Configurable demo powered by CodeSandbox]: https://pvzdl.sse.codesandbox.io\n[Web Animations]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.33","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-FUCcp+sqqtyYzEdgZvIUsCYHELUCrwdiVEqlWU+wNFLiw0t4lF6aPZAFuB5kEMRfFmWTqp6ucip4339/mTmp8A==","shasum":"5f1ea23c9d20d4a62b6b757cda9463788f07fa3e","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.33.tgz","fileCount":31,"unpackedSize":239136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqsLmCRA9TVsSAnZWagAARBgP+wSGTiEztYYM7llZO5Yl\ntPPWapP+fezQRApWEvfloKDcObfRrzxSxfPqBBgPMGjbzMDB1v9pzpVGCSQY\n972Gv7VhpExYS4YZyN/Slf0TE7//kpFTCBOZfe2kIAj5XchQAqXidinh+POI\nCKheqj8BawIq7KSwQyIhrFnzfKx3KeS0GFq8bay50DPyKZh8mihjx+vv5mol\nuhHlvOxKwrZwYEEZrcVdHLDESvvEbZZWGSyqD8lO4JffFAc8o/21D0X15avz\nqCYKXftaIXwHRpdmWxWlDi8mMS9sHryZZM/hwfXh0KxQL3C3f7IdEV6NaENI\nbXCoZsy+yC6xNj334Vzx9X0OK9Fk7GOGa+L3o7G+9bi0vdriiFoaSVNuVFIg\n0s72spH+NGD69hkPZI8i/yq+STJbCWtdpkMCQTWbemehsTDLYF5G16mybg/X\neEMXkGJQz5bPJOsMjeoXZojXxWEBduRhQadhMBWkFiOfdVTmGh9QV/JaK0pm\nG6/KcMMpR9t8l9g8wDCKEzCM5ENIqN+WvTQvQ8jygvuE6CxyXQw1gWqvs1Es\ngqRQVuJUZo+0GmW5oQ182QQiOiAtPjDXsoLQFAdQY7aDj/88yXdnSigNFJRg\nVZhwF2M1ITR17oOhQsxFXMZI3HLew/0jErGUtRsbbWMffT+7GZjhnBdJHhvD\n8QDT\r\n=L9zH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICxiHkvMmG7k7IVZve0MyK5IakcQCka9P/KcKVWWZBR0AiEApnUkd2Svyqd2ZyAAuMIBc+7N8cg/6RVcdn0sGxseaEg="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.33_1571472101513_0.5056653529067201"},"_hasShrinkwrap":false},"4.0.0-rc.34":{"name":"app-datepicker","version":"4.0.0-rc.34","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"shx rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run ts && npm run clean"}},"dependencies":{"@material/mwc-button":"^0.10.0","lit-element":"^2.2.1","lit-html":"^1.1.2","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-elements":"^0.2.4","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/chai":"^4.2.4","@types/mocha":"^5.2.7","axe-core":"3.3.0","chai":"^4.2.0","husky":"^3.0.9","mocha":"^6.2.2","pwa-helpers":"^0.9.1","shx":"^0.3.2","tslint":"^5.20.0","typescript":"^3.6.4","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"06c6c20844ade73c3f9b88def0dbf770d2cfed54","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n* [Web Animations]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[Web Animations]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.34","_nodeVersion":"13.0.1","_npmVersion":"6.12.0","dist":{"integrity":"sha512-OqRuYcpPQoNsCV0E3x7ZYs/DXJDeMZ226GzuYwFATRCSPUnlZF/T6itnXV99xY0CD6uOd+T+nPkhKNCWeJj8Ww==","shasum":"a30232658df6f7b606ec9529445bb968a6f45636","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.34.tgz","fileCount":31,"unpackedSize":240628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtG3vCRA9TVsSAnZWagAAnZoP/ji734yGAB/Ajm9ujz06\nKG+hdVuannGcEuzfbDDRoDQDEUP5Ligj9z+txZQpMlRZ10qAotiIWNG9xwBO\nfQusc3ELQ441IgTJeP1nxOPM+zL1lRtq0QPWSUzMGSkSVL/fVCaevrBP8DaL\nEyM939TpibF/Lhil+5ymQon423FewcOel0klSlv0NuC8YwLNwo45xnduix8N\ndsaj2buXU29mOKQH+bL58EpESu6B+cEGE919YjzChIQ7GP2bKQ6YOiPwePMH\nMBZxvmZ/tlZnm65s11HHg6lVV9VD7d1Bmjm/Kql0DehTVHQW2B2xNu+RlRIY\nnswwcZSJVuY4tEnfupyQREPN8QmSeOhUUokxjI1tJv0IAzUS2gKCMzIPsP4t\nr3OmupBJNbhJ/ns4HM0nmJk/h4T66WjxSiejl5GWSiadUpJ8tm46IlmHlCTv\nfPOF0h4t80xl51XXgf2UKJ9o05WHGF7+ART/zZNcXnXpUhDF/69xnmhn47Tj\nRz/Vy0vYtHqXsIvVrpn7IZhHEf+ns5z94rPVp8XYTUU5wkShT3BfQt6kQzh0\nR23swJy9pe9LGIdehLNgkrAjM4ziILxeP6lisG4W9XInUM4MuPuXK8EKiteX\n3DbfJh6U340idpYQCSGo//sgDsIBaj3xXXPrd0DFO/F1Byp3ZvW0xUM4rIAP\n6Jsf\r\n=EmQP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFQwf33TBHyMvNN2cbMLOz7GQbz+UQBqFpxyGKpUJL6xAiEAha21qkzj2v4+DJf8ONq5UszBqVKzdJOztqE78GphgVk="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.34_1572105711008_0.26728996978128783"},"_hasShrinkwrap":false},"4.0.0-rc.35":{"name":"app-datepicker","version":"4.0.0-rc.35","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"shx rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run ts && npm run clean"}},"dependencies":{"@material/mwc-button":"^0.10.0","lit-element":"^2.2.1","lit-html":"^1.1.2","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-elements":"^0.2.4","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/chai":"^4.2.4","@types/mocha":"^5.2.7","axe-core":"3.3.0","chai":"^4.2.0","husky":"^3.0.9","mocha":"^6.2.2","pwa-helpers":"^0.9.1","shx":"^0.3.2","tslint":"^5.20.0","typescript":"^3.6.4","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"gitHead":"9054e4e06fdf88f62f7924b17e96eb4dc110562f","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n* [Web Animations]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[Web Animations]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.35","_nodeVersion":"13.0.1","_npmVersion":"6.12.0","dist":{"integrity":"sha512-klob9PfN55JxgWS98utaJWUzMHDm7dmX42u+5osnQtJXLwNZL9MKs6H1tTdyLRrP7cadTaDjSTo8yL9RaxXfng==","shasum":"ce8e7012f70a29d4822636650282cf6757fb0a89","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.35.tgz","fileCount":31,"unpackedSize":240485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtUesCRA9TVsSAnZWagAADCoP/jM6BGoev+uzQ0zFstGF\nDNHXu0X4RJcJ9Z0C4w2cv5gKYhzWiajNLelXD2vGYo6ZLLH6rQ7vBf4yPWCk\nFcymZggERIghvvJzCP4/OlZATxKj1kbl3oboMxxubqRAWmcR168MiZl0SkGX\nuMXgaoDo12aqvQzJqsYfDzkCHIo0BTHR8VjMJ6Rr2iqxH1rP0Ysz2FyJ6eQK\nMnpFHUIoSnJhj6IPYIvURHPLjDdLJjg1ssKhKYrvsPL4t14nd/5RVyOSRhz/\nXD1QjO0KoOVvOOfJAyRZZYeE5RBNj0XGxcF+vM+1pNrnTjsZCPVzQJbM8uP7\n5/ZuwsrO5D740w56YlNrqOpvpK/GGLgEgfBOsE7FUm+rlUDMy/Ob4liWkXAe\nVq+EzBgAiFrLqDaTJmgUKoLHwLYwsspiUBdihUCOxIaPO08ZU4023BMgZqKY\nbyIExE0N77ilufdcdfFgnh9HSkUpbnfS2e48d0CZcPoIryvQq/TR/EseS57T\n0LwBCOge9h2ex1yarjy2AKaKJvYYBXqGRacRooxRlfCYSI+YCmxqS85TeK8s\n7ibugeExdSobt83Ug9SnWbV60zrIzVpk4X+e7iRAlqO2+5byv/bxMTGw23Vu\nIXGSWauE/ylY4rZK3HzDY0k0BVctWWZN3CdRZoKjRCf7Hr5hUk6YnexcT+vq\n5Rvc\r\n=B02J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHywGVUKfpbzx7ycV5E7zzIrOTNCn6YvOjUYr6oDMSyOAiEAq7fRgIzanvxaUccu4klRF8y/OHzLFfcObtKGsTDhL7Y="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.35_1572161451519_0.6609446161248824"},"_hasShrinkwrap":false},"4.0.0-rc.36":{"name":"app-datepicker","version":"4.0.0-rc.36","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/","document":"polymer analyze > dist/analysis.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"polymer serve . --npm --module-resolution=node","test":"npm run lint && wct --skip-selenium-install --config-file wct.config.json","test:ci":"wct --config-file ./wct.config.ci.json","test:sl":"wct --config-file ./wct.config.sl.json","ts":"shx rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run ts && npm run clean"}},"dependencies":{"@material/mwc-button":"^0.10.0","lit-element":"^2.2.1","lit-html":"^1.1.2","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-elements":"^0.2.4","@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/chai":"^4.2.4","@types/mocha":"^5.2.7","axe-core":"3.3.0","chai":"^4.2.0","husky":"^3.0.9","mocha":"^6.2.2","pwa-helpers":"^0.9.1","shx":"^0.3.2","tslint":"^5.20.0","typescript":"^3.6.4","wct-mocha":"^1.0.1"},"engines":{"node":">= 8.16.0","npm":">= 6.4.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 8.16.0\n- [NPM][npm-url] >= 6.4.1 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.0.1\n- [TypeScript][typescript-url] >= 3.3.3\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n* [Web Animations]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[Web Animations]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n\n<!-- Browers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/0525e4467aa5414b85ea0feebe8fbd95\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[codacy-url]: https://www.codacy.com/app/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker&amp;utm_campaign=Badge_Grade\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"809df75a6b6d342049b2f24a4fc9992fba36f9cd","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.36","_nodeVersion":"13.0.1","_npmVersion":"6.12.0","dist":{"integrity":"sha512-QUxcpa2ZXMnDxbQ9dB+qD5d6ZH0iE2Yy4z0kWbnC7rPwkUM0l2BBwgxsV+aiy4ML1YcMIK+1d51WCf/owuEEZQ==","shasum":"2ab1848477cbb06f1ada32b4fcdc8c2cc31d424d","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.36.tgz","fileCount":31,"unpackedSize":220577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtXtVCRA9TVsSAnZWagAAB6gQAIqNMyOIHPL8lWcwqiEU\n7pbYz0ge+HwujgMoas5/QE5mH4sWKWQ83fUdz70qjAJ/EsJo8yxpIS0F7+9M\nsAvcXNuhExGN195q2e1vmkvz0Aqy5mm2X83rLm6lZx8Pz9S12qZtOozQGVTP\nodpcebav0sby+/KZad9dKiPHhbEtdIDR3sXmALZwkuIU6BpqiZwDn0UjRvCN\nrBl3Y/kUDf2oLxiotxsQj5YDll/ynWuwmscOgSI7xEEBkrmNZ2jtFqD1hPXj\nRC1wpsFxzKXvnFKu4ajO+N4lQ6VK3632aTwXXdBkPQQ62aJzupcAngtllz2n\n1CKrrE/D1laep5M6tIMKJu/lZVpNsZlZPgfdDQUXxvZ+aeTHqZAypZ7s2oVf\nA/e0JSK1Cttrqzmw93O921+ej5cfmsiOiapBsymCZPOvDCiHlJTxLCDC0YhL\nKWAflSXjwppPiBUg5LiE9QdEnN00RhdafMpvjXGMWA6gjP4Egka8dkBdcel/\neVO3nWZHRuUzhNP4LURaJsRV9zIPbiKEFb9xHLMx8vi2kQAV3paSQ5hJCDqy\nth/apUfUAODzM1gEMwdz1Uf4kN3eRV/YVqY24N1S19XnQ/gfVFw9/v1L+SGK\nLU/At/7LHqDpqpO3EQzW+AWcv0VTBwRCCyAsoxAKPaEpQQtOeM5wc//U/2wm\nzIPT\r\n=CzXa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbeZrT2ZkkWk1yAyLoPsmmNC7xoVEbftV0/wrSFHajMAiEA+u4/H29DT49yF4fSSEOV7yAFr/xK48DWgWGKfsA/QMY="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.36_1572174676551_0.8015430791038824"},"_hasShrinkwrap":false},"4.0.0-rc.38":{"name":"app-datepicker","version":"4.0.0-rc.38","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build:config":"tsc -p tsconfig.test.json","build:test":"npm run ts && npm run build:config","build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"es-dev-server --port 3000 --node-resolve --dedupe","test:dev:all":"npm run build:test && npm t && npm run test:sl:dev","test:dev":"npm run build:test && npm t","test:sl:dev":"env-cmd -f ./.env npm run test:sl","test:sl":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","test":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","ts":"npm run clean && npm run lint && tsc","tsc":"tsc","upgrade":"npm outdated --dev && npm update --dev && npm audit fix","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run ts -- --noEmit && npm run clean"}},"dependencies":{"@material/mwc-button":"^0.12.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.3.0","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-elements":"^0.4.0","@reallyland/tsconfig":"^1.0.1","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^5.2.7","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.5","@wdio/local-runner":"^5.18.5","@wdio/mocha-framework":"^5.16.15","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.16.11","axe-core":"^3.4.1","env-cmd":"^10.0.1","es-dev-server":"^1.36.2","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^5.20.1","typescript":"^3.7.4","webdriverio":"^5.18.5"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.2.1\n- [TypeScript][typescript-url] >= 3.7.4\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"57ca41fb079b9a37a43d0127ada54c6213a4956a","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.38","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-7d5lICOFJ7MXSk9P8GK1T8tJjpTJil3JRm7z9InnMubGnzsbSokX6w6OViL/KCVisZydjxJfOSvpbQBKvq9ibA==","shasum":"8cef96d0347d155ddfdd1b040b85439a61c1fb1e","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.38.tgz","fileCount":81,"unpackedSize":104039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHHANCRA9TVsSAnZWagAAQ2oQAKBmLCsd0g864YJBxPNj\nqV54WaYZcRMXPGjtfbmOFnkh3dlQeBuP7CunnK6siyE32slw4PkDnK156/lk\ncf5U+npmEmIgPFVVPXEAH0bAevjCUwT+GUx8tLpL6y1MDvIbj67b8P6DQa9u\nsyc5+PQzHtp6zOBkMBdYISoI/cRCnzuG1uKqW1LwfkoVUQRRiANplu6Ompv6\nitLeXZjuzDWnwYf0RKdRC8p3JQzHpP733vQH8lVEOMjkOWJtb6nymQyphQy/\n/VNSeJicdqNn2/uR4il4wP3Jv78Gz/TgN14IBbZjCcyfMYFhwct/MMJECjlh\n1/eKmA1j6g2FS9BLoucWw9ap9xCYI8uuROYFcAn5OZgcDkBEdDTCgzrHiNHC\nQkRgMwVOTH7iDo0R7eWwJk+ixXIP/2GlVzvCeL9OjvmJ6Bedy5+0nhLzczEP\n8aUmitwb7noXGo416bWm1WBg/hnv1m6T/Xs6Y9KXzS2MFIp0bLo3IxX4gWlS\nyzHJ6S2Y9epvxFozTqu98y8DVbmrFVyKQXP7agmetYhvttECakcnPRVGPGUK\nrlyjQUJURNj4L9QUXdRWULPgkHZs7hDCECbf4SbbtbiQbnh64VHivOrU3e4C\n0+KlOUQO+Nbo1HhYrpOWruik4KBwJJD2fCR7xC+/Ocq4VfmLTiwHrSta6kGS\nwGJX\r\n=5noe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3UFkbnhwCiXP7tNqmRVWL/Lf9Ked9QOXjSruaqXOk/QIgJ305VOOCxNrYZZR4ifUKsGWnGSD/3gh6znFxHhVe5SI="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.38_1578921996869_0.15258825452334057"},"_hasShrinkwrap":false},"4.0.0-rc.39":{"name":"app-datepicker","version":"4.0.0-rc.39","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build:config":"tsc -p tsconfig.test.json","build:test":"npm run ts && npm run build:config","build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"es-dev-server --port 3000 --node-resolve --dedupe","test:dev:all":"npm run build:test && npm t && npm run test:sl:dev","test:dev":"npm run build:test && npm t","test:sl:dev":"env-cmd -f ./.env npm run test:sl","test:sl":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","test":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","ts":"npm run clean && npm run lint && tsc","tsc":"tsc","upgrade":"npm outdated --dev && npm update --dev && npm audit fix","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run ts -- --noEmit && npm run clean"}},"dependencies":{"@material/mwc-button":"^0.12.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.3.0","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-elements":"^0.4.0","@reallyland/tsconfig":"^1.0.1","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^5.2.7","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.5","@wdio/local-runner":"^5.18.5","@wdio/mocha-framework":"^5.16.15","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.16.11","axe-core":"^3.4.1","env-cmd":"^10.0.1","es-dev-server":"^1.36.2","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^5.20.1","typescript":"^3.7.4","webdriverio":"^5.18.5"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.2.1\n- [TypeScript][typescript-url] >= 3.7.4\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"54b6b637c07bee2d476cc69dc96a943e17c39795","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.39","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Q0Ca/TXEdhK+gGCEz+JLg3EfVv63bNjYaBVJ1zRQdM6kWvKKhRwswiwaoxwqipuaofnwoMhYDI5/oxH6TGULtw==","shasum":"ca2074a98425b9e80b88131ebaed74fee98ff264","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.39.tgz","fileCount":81,"unpackedSize":104039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHHCtCRA9TVsSAnZWagAAPx0QAIb8bw16A466BsY8Pt1f\nl60XHkxpza1tZTm1r14DAIdxKzRghRwDngrt5I9YNyOoCDv0/D+p1G7hdhH0\nRkGdsDww3CNfecwgzwjuIHzPTjGdEwt5L7xB+gv5LUSuhlq4FDj++fiH5gd9\neuLBTRnCGryHuN0QyLDHIvLjczumF1pDJWM4IAosoch+yd5tVb/+icX62lMd\ngAO9LIoNRjNO6knpJ8yNLk4AjcI96WaALGgPaAZ0jsKtC9tjfcVduHlRzeLV\n7AicsDjHBzdBGajkI2yK+COIqATEl8QXaQza4SztMoOGrkVjjKSspNIm06wi\nqEI99svWLlUzlqxl9V9Cyz0+Nn2J/1drzh/bOs/4bnSzDP84EerafniKXwbN\nUANZN1nRYC5SFJpC03XmwBGGpAYp8KF4GUbJr1FyeF2z9/rIpHl17VwDT/ob\nY1q5BY9Udk6QN5y42CvFk/wm5A5hcjJWCu/GFbT7GeaQ8ihrra7VPiZzdHnZ\n/eukM7vAOcrUDGlDk49IMh7fF/H8UyTVrdtfRFwoTIHTSY93CdCCCawb4CdU\nBfQba8zzbmL8a8Ra4WI90znluzRQE+jP9JmO0JMdoafOmr4vUFUDxoWh2u+W\nQf3QONyqf9p7jvit/4rLX+lVhgQd5GpAP3CV5W0wKkfWuzQETYvEC7aJyWP0\n0UdQ\r\n=Imte\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEyloihBxO5kaSI33v7Ug6BJlMY80rRl0kpnTwur/MMFAiEAnGjmBjG0Haog5/aoQaHuk+L8qvtMbeqbn/ILXWfeF+o="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.39_1578922156619_0.9595665688854988"},"_hasShrinkwrap":false},"4.0.0-rc.40":{"name":"app-datepicker","version":"4.0.0-rc.40","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build:config":"tsc -p tsconfig.test.json","build:test":"npm run ts && npm run build:config","build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"es-dev-server --port 3000 --node-resolve --dedupe","test:dev:all":"npm run build:test && npm t && npm run test:sl:dev","test:dev":"npm run build:test && npm t","test:sl:dev":"env-cmd -f ./.env npm run test:sl","test:sl":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","test":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","ts":"npm run clean && npm run lint && tsc","tsc":"tsc","upgrade":"npm outdated --dev && npm update --dev && npm audit fix","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run ts -- --noEmit && npm run clean"}},"dependencies":{"@material/mwc-button":"^0.12.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.3.0","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-elements":"^0.4.0","@reallyland/tsconfig":"^1.0.1","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^5.2.7","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.6","@wdio/local-runner":"^5.18.6","@wdio/mocha-framework":"^5.18.6","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.6","axe-core":"^3.4.1","env-cmd":"^10.0.1","es-dev-server":"^1.36.2","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^5.20.1","typescript":"^3.7.5","webdriverio":"^5.18.6"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.2.1\n- [TypeScript][typescript-url] >= 3.7.4\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in all major browsers (Chrome, Firefox, IE, Edge, and Safari).\n\n[Heavily tested](/.circleci/config.yml) on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Edge 17 | Windows 10 |\n| Edge 15 | Windows 10 |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"8681b988b4e335067627faea602f39db5d18c714","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.40","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-HLrP3E7nVDUr/FACzahLUhHMAmzgrOIXiDedujRCqSWJkQ6dbOx6vKU30KxPmrhh6O1qIXrUT6quiOQwZol8nQ==","shasum":"94b4721cf1461b4e5d4958cfd35c5a21457ee168","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.40.tgz","fileCount":81,"unpackedSize":104217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJD1qCRA9TVsSAnZWagAA+qIP/AhMR5FGs3MwS/7DKQq9\nkciIa9TcexqRMq2fBufyoM+6icoPdFFxXeYLKq3VRAeQgK8/ZgIFaFtwFMke\nLpIwnA7Za2u5+znHc+2rmV5Ou15XJUIhCsYASdTe3O3Lyy3yppyS8w53uFJV\nZR7VMlvC5YMYskwSGHpYBQKFz/yyqmiXuSka+rOmvAtZYdO0pb8gxsmkjfzG\n3wVuL5TUlHOFMjqFK19oz2qWdrPoDsImaMPgZukJ49en+oRvtDz/eIcspEAO\nb2kKEW76Leg0GS1lDCvOAE4MxJobpuZB/gVcOzf9aXurzfsu3bh/6Hdbs7tX\n9fk+RlK5OwhB4o0EoifjacnxszOI/5x1kpOMQ3EHmi7TXZePHI/Mt3trPK+9\necA9C/Qhb3d8T2crBOp6IcIgfRQ3lZRLqhq9HeXxsNY2HGBus69h5IJBDcpk\nZpf8LsWpRYI2lRbhOIDN5bdxHmz1a7lWAzfRG+W86fc5ufiUQsvQE5DqyOHs\nPQET8SYKViZIXjOLqfHkDWL9dFBPvlZbH6TKsgycNxFOU9FhcISlDWI0zt/2\nOIdY+01dGSVLJers4U/w4PQtSuFDQYs8QmOx76jg6faZIj4Rs5VrwdL2nhFN\nNnVso5P1b4IFY8uF0G7kggSxIzHAz+aKBd/0csRlgX3b+0gG7LaBs4QyeU6T\nQdOY\r\n=Lm9b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLlU9su4Ead381SNSWvUIpvmLDTDRjK2TiPEn1mF1CgAiEAxyClMhtVCJsspdJpqBNOQqM0rUXUazCCoQunD/esDnI="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.40_1579433321488_0.8416200387214583"},"_hasShrinkwrap":false},"4.0.0-rc.41":{"name":"app-datepicker","version":"4.0.0-rc.41","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build:config":"tsc -p tsconfig.test.json","build:test":"npm run ts && npm run build:config","build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"es-dev-server --port 3000 --node-resolve --dedupe","test:dev:all":"npm run build:test && npm t && npm run test:sl:dev","test:dev":"npm run build:test && npm t","test:sl:dev":"env-cmd -f ./.env npm run test:sl","test:sl":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","test":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","ts":"npm run clean && npm run lint && tsc","tsc":"tsc","upgrade":"npm outdated --dev && npm update --dev && npm audit fix","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run ts -- --noEmit && npm run clean"}},"dependencies":{"@material/mwc-button":"^0.12.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.3.0","tslib":"^1.10.0"},"devDependencies":{"@reallyland/really-elements":"^0.4.0","@reallyland/tsconfig":"^1.0.1","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.1","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.6","@wdio/local-runner":"^5.18.6","@wdio/mocha-framework":"^5.18.6","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.6","axe-core":"^3.4.1","env-cmd":"^10.0.1","es-dev-server":"^1.38.1","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.7.5","webdriverio":"^5.18.6"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.2.1\n- [TypeScript][typescript-url] >= 3.7.4\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfilling in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n  if (!(Element.prototype.animate)) {\n    const wa = document.createElement('script');\n    wa.src = 'https://unpkg.com/web-animations-js@latest/web-animations.min.js';\n    wa.onload = () => console.info('⚒ Web Animations Next lite loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"c12446832110e17a71e30462e579535c5dae69cb","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.41","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-DbAAAOj0lBEnFumEvIrbP3HrTsIfJjovZQa9LJHowonjRQabL0iRy/gpcu/cvU/bByYDQjpOYQhOBS8PQr0ToA==","shasum":"4c31b90feead80fc661387bcd514f0193cc92347","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.41.tgz","fileCount":81,"unpackedSize":105233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeODcwCRA9TVsSAnZWagAAQPIP/iRS7oITtmG3p7H8+i9M\nkc5x785sS7Te1kYafRLcQEejN9hOh7gFZ3etERf2Y37CRBZ0qLrGFp1BhUt5\nWDH7om+qtg68jW9eBAvVoRV8bGbuPwKsI1obwl6NE+RvIwxXXzWpdzgIUiqg\nXC7+tX76epkHu9ag9rovOay7BBcY4kbszw0MNzcYDFCNJrnaKz9GyuCJHeJW\nXSM7HIk7gMnK0J4YzWqxluj2yXiYqa6wpLXg4I0mg8VpQBQ+PEloswwgTuQj\n5yM4COzmLt8BIPgghXbLBY6alyWkK92AouttJfimwBtKXuIC30hmiv+sc2Nx\n0ObzpeTP+gaWh8ZuHe9AlttDS0cIdhmeugQI85MLMu9GUc4gTjPrannNQQml\n36mFkVT+2ErOGhUXvqhzVtuIAnJhIWXQR9H9jWWYUF7/T+qDySGwTe4C2aq7\noTdfqVVra1krT/HrIMR7n6aepK8DgYlBishWX3LDc469DYH9/zA6JzEbOxJw\nN5mt5Px8jaDGEsp9VB/ccIBnJTWss1xuSjrz1PYCXwInfelSrVZ88Y5dUQKJ\nzqOgJGc8pBag5cPEbQSgFXshpth7/N61LE41MmzCPO15ox/UCO6G+JvqAUYF\nOp8hcjF88ekjR82QzfdVO2KB3uPUwe8IwZ6Y+S2mROl8NI9fzK3OOMupwZbS\nGxvR\r\n=XtvF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkUWGQlEn8F3Ldg32XoNGBOSJ+GK3jrPT7+D/kJVENZAIhAOukFEpYr2CO+zzsOromfMHk8VExvcEkF7vGlAJNVNXJ"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.41_1580742447566_0.7005709301208738"},"_hasShrinkwrap":false},"4.0.0-rc.42":{"name":"app-datepicker","version":"4.0.0-rc.42","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build:config":"tsc -p tsconfig.test.json","build:test":"npm run ts && npm run build:config","build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"es-dev-server --port 3000 --node-resolve --dedupe","test:dev:all":"npm run build:test && npm t && npm run test:sl:dev","test:dev":"npm run build:test && npm t","test:sl:dev":"env-cmd -f ./.env npm run test:sl","test:sl":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","test":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","ts":"npm run clean && npm run lint && tsc","tsc":"tsc","upgrade":"npm outdated --dev && npm update --dev && npm audit fix","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run ts -- --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.3.0","tslib":"^1.10.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.1","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.1","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.6","@wdio/local-runner":"^5.18.6","@wdio/mocha-framework":"^5.18.6","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.6","axe-core":"^3.4.1","env-cmd":"^10.0.1","es-dev-server":"^1.38.2","husky":"^4.2.1","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.7.5","webdriverio":"^5.18.6"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![screen shot 2019-01-30 at 12 49 30](https://user-images.githubusercontent.com/10607759/51959002-857c1100-248d-11e9-8d1a-9abbafdb2385.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [Node.js][node-js-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][node-js-url] so there is no need to install separately.)\n- [lit-element][lit-element-url] >= 2.2.1\n- [TypeScript][typescript-url] >= 3.7.4\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"172a47d73f3475a06aa686da92244f42bbc64ec2","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.42","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-zQarFI1ZtmWzKbNKOguC3rjhbcywjbeYpvu1d3cAGyP3/hhLPGhVFYdIFXSUePJLLP3aKklLJIqAc7PZKI7xQw==","shasum":"0a519a752b9736d216bc6566256c1ea9442148df","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.42.tgz","fileCount":81,"unpackedSize":105375,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOtmFCRA9TVsSAnZWagAAFKgQAISmfpkgYyvaPynXeNGj\ng84/W1VMUTJNZUVUNVOKOBcS+UBcJ+d/6fEB3fUXGPTKBDVxkPya6UOLwDJ6\nrld14vZIlG6AQlTNLb5/rdsRbBxPvyDIJW8qpCwMahD/y2lsmyeoi+cJt5rn\npEgAzCf86vWUaawhnmPBaklBhLV4xJbLLPTlWoDLFm17gG49t4SM0NLkAgUO\nE5BtGMvgP7lR0p6H5yIcYMp1tEifYJ7jgvPItVSdzkxBxlFswtFYUz6tOyHt\ng6zXCuqV56qG1b4PKgYx6By1BU1Bedt9A/Phb0zXjkLryc4yHuxfU2sqT9VR\n5EiGWjRyT7Tff7M6v6rgcKW0Jsbw5zgV7qGi3mtkag/E5eiJaBFe6mr7keOT\nm4p4W1YoAc3lpBD/FaYxwteK+aXXNFzy9gWGBT0h2mMGiVeWNl47bjjJ6Chy\nzDslJG5oPgJaA3xy/MD/jXyfZGZTCX5xUCoXV9nkyq2C4359FR746eFtO64w\nyOimDafCterGDwn3YJ3+d4A1uiEh88iUZoHvwBqolibJzotdb+lRdYA4RDkJ\ny1XXQS70Cmr2fo+JmFZq2V62Tndk+AoCH6YrXZWvRXtKR3uce1+8DrkSSFJ5\n01/DH4utq4iEVVfVswKlWAkFD9ba/JyJ3T7r4018Ek6iLlNvmjQTQ8bDh1uK\nx8rs\r\n=yCXP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0LNiv5Iur1302zNIu7npwFOAbQmeT0V2ISO/Rh/9K7gIgQh829bJ417O3dZWZLlJf8uzMAQZekJNIck2F08Uwq4g="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.42_1580915076961_0.8721186088285506"},"_hasShrinkwrap":false},"4.0.0-rc.43":{"name":"app-datepicker","version":"4.0.0-rc.43","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build:config":"tsc -p tsconfig.wdio.json","build:test":"npm run ts -- -p tsconfig.test.json && npm run build:config","build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"es-dev-server --port 3000 --node-resolve --dedupe","test:dev:all":"npm run build:test && npm t && npm run test:sl:dev","test:dev":"npm run build:test && npm t","test:sl:dev":"env-cmd -f ./.env npm run test:sl","test:sl":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","test":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","ts":"npm run clean && npm run lint && tsc","tsc":"tsc","upgrade":"npm outdated --dev && npm update --dev && npm audit fix","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.3.0","tslib":"^1.10.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.1","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.1","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.6","@wdio/local-runner":"^5.18.6","@wdio/mocha-framework":"^5.18.6","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.6","axe-core":"^3.5.0","env-cmd":"^10.1.0","es-dev-server":"^1.40.0","husky":"^4.2.2","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.7.5","webdriverio":"^5.18.6"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2020] (_The element is compiled with features targeting ES2020, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2020]: https://kangax.github.io/compat-table/es2016plus\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"d9a590c8f43ec43e54778a2e64cca5abe20bf099","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.43","_nodeVersion":"13.8.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-yQKn5WKWJl56odq4j2T+bgo4lRKGJdYklchhUPy8mFNoVVPdcT97+mK/4V1KNHDXjTIYdvmJ4je7NJ/mNPYOpw==","shasum":"6f4dc15fb458df9a7a00272f07b88454fea9a24f","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.43.tgz","fileCount":87,"unpackedSize":106323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRAP6CRA9TVsSAnZWagAAJ+UP+wTJbK5s4GWkR82dFAms\nHdk/CcIqXUoXwEnjjYxcOxu9OQeyqzEH08xUzR/3uar5lKT2nCdrKmsUQ12C\ngq0zXsOIXX3YMl1iYO0cJ+pGih8HS3+e7O8e1QO3tIJOjhA7pGA7ntatVt/V\nT+1mTbousESe1n3kV52pTMFG8dfPfs5eYEp/pEOlQYqDPq7X08TRZdnDtluJ\nZ8aLOfp/LZx8Gmp6KWu5EYiz/lQxmF23yovSqGgjqKTTr5pvNyT3yA/CvcCt\nA20GCXwSRhgv4dE/ftEzz/0oaR2gNh2Xw4EiCGrqb8mRD/TkvgZMdjvj4Uys\n1J7jkoI9lyosQMpyqydUM4EwhoLIogF6SCEVF+nFWQJ6LS+HngGnnL8yCiv+\n87bdk62Wz3OYEkTw80YWRAukq6eG52OeI3P1qeJEwai9z1zoRwOuU+v5ZxxE\nIYXw1aml/jqHgpgFakXuzZLm85I3GD0x2m4SMtdskk86uCvYBw7RZU84w8xD\nazOcUCGMh3nPWUZxWJrp14IHlTUPpF46xZnq24EW4lyYrjPUp2hfYVZdyvK3\nKTZDUGHeW4T5Yu580mFVAwU01cgHvjuW/f1Zg+AT1i1sakmPtXHNcWTN7kPs\nH6llq9PzMpxuQNhx5iDC78vEMAm0G5cgVWYu9Cihl4X+gowRMV5kdRWWGaci\nKgXG\r\n=hofx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZaeiG7/BCG2FjyRNDYxZKLaz79bfE08sWOTh5wrOHMAiBUk+XyS2IQzR7V/qmEeveAuLR7kBjz4myzyTVbqZzfuw=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.43_1581515769731_0.2790554782347172"},"_hasShrinkwrap":false},"4.0.0-rc.44":{"name":"app-datepicker","version":"4.0.0-rc.44","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build:config":"tsc -p tsconfig.wdio.json","build:test":"npm run ts -- -p tsconfig.test.json && npm run build:config","build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"es-dev-server --port 3000 --node-resolve --dedupe","test:dev:all":"npm run build:test && npm t && npm run test:sl:dev","test:dev":"npm run build:test && npm t","test:sl:dev":"env-cmd -f ./.env npm run test:sl","test:sl":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","test":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","ts":"npm run clean && npm run lint && tsc","tsc":"tsc","upgrade":"npm outdated --dev && npm update --dev && npm audit fix","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.3.0","tslib":"^1.10.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.1","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.1","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.7","@wdio/local-runner":"^5.18.7","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.7","axe-core":"^3.5.1","env-cmd":"^10.1.0","es-dev-server":"^1.40.0","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.7.5","webdriverio":"^5.18.7"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2020] (_The element is compiled with features targeting ES2020, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2020]: https://kangax.github.io/compat-table/es2016plus\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"c72cbf7ed5cfdb8862881c2ad3363a030704b219","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.44","_nodeVersion":"13.8.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-eqns2/al7tkZ858WLHsz88dCCN52fEHtX5T6fck1NbjVAQC0RhdvMzbhVaqp04V7t0Smh16iA7HigLKRsOKhag==","shasum":"5d0851238d14710c656fe0e83f6b392f14c2fe40","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.44.tgz","fileCount":87,"unpackedSize":108934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeSSeeCRA9TVsSAnZWagAAprEQAIRwMKm8giAE0frWFO/l\nMFLREV5jStyDbbYYbIGy0t5TKyoRD5opmDFdzsCjpTE+jmbPB3HFTHyw4Dy/\ncpEbMpT0jDc/lTRMf85NnV8eH+88UEgfFN9MYwSrGyjGMGGcV1rcR1H2kjue\nanBKXtBFWY8k3sNGXPXuQ7/TCxo0UGRc+4zHH/7JgQfwb5QC4XKQFqOSC+YB\nM5iA/NRPe/dPcwIAlZVgsSEAVcpIGJhUyAe57HCPmv6flkUA+lk8FaoDTOsW\n/GbgqfugNgh7nV6Lzt1G24kC/syuQO+hET97ANcj4+4XGsntfsLy2C4+csAG\nyPy5TG0Af4FUkQdToH85jmdXV2hUvT9+OOG6w+49/Qc819AfK2TB5oUZxgsL\nqRP1tn+Zc/X9xNjXVcJuzjiPhwYucuSp/slqwwHNC4kSi5howPHairMwr8kB\nfSanMYJIGaBJK/knrFFoPSP5IRkk3YQQfEDu5ppOkvD4YeEdPmiR8USREMM3\n8bvBgYxWCMHvCxrbRt1KIh6Po0Pg0ykkihboGCngdteV4UHiRQDfr1g48Qye\nxrTqo2KnOKxnUwMQaNSm4bcnxaJvJS4ZoUD9vJg2ljFWBneWx7ry4CgyaVm+\ne9LOijKTrgM24w1HAHLZL9sfwJuDYEcxbX8Act2vqBsTs7uWoypcuEiheEqB\n5K9d\r\n=DR6U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHXxs7eY90Q00Am48DczYN8vXkJiPPXpEj4HREOdxLhwIgIVYxycfehW1cpBV3TjVKiF9nZi/B4XGCG76cpWpTLs8="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.44_1581852573767_0.826759148143583"},"_hasShrinkwrap":false},"4.0.0-rc.45":{"name":"app-datepicker","version":"4.0.0-rc.45","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build:config":"tsc -p tsconfig.wdio.json","build:test":"npm run ts -- -p tsconfig.test.json && npm run build:config","build":"npm run ts -- -p tsconfig.prod.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","prepublishOnly":"npm run lint && npm run build","serve":"es-dev-server --port 3000 --node-resolve --dedupe","test:dev:all":"npm run build:test && npm t && npm run test:sl:dev","test:dev":"npm run build:test && npm t","test:sl:dev":"env-cmd -f ./.env npm run test:sl","test:sl":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","test":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","ts":"npm run clean && npm run lint && tsc","tsc":"tsc","upgrade":"npm outdated --dev && npm update --dev && npm audit fix","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.3.0","tslib":"^1.10.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.1","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.1","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.7","@wdio/local-runner":"^5.18.7","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.7","axe-core":"^3.5.1","env-cmd":"^10.1.0","es-dev-server":"^1.40.0","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.7.5","webdriverio":"^5.18.7"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2020] (_The element is compiled with features targeting ES2020, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2020]: https://kangax.github.io/compat-table/es2016plus\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"7d0a7f82b283e0a308607ff800b943bbd3704274","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.45","_nodeVersion":"13.8.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-eXEYdEV0jYZghVeJfyiOGh3nNZ36b3aWJKT4Mp0saOt1+d8qU8s+OmjgTbS9tL9PAzzwo6yjp02Tu+toZSsbSQ==","shasum":"ecc27be314627253244a7eafc3873791ac7a4eee","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.45.tgz","fileCount":87,"unpackedSize":108947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeSW1+CRA9TVsSAnZWagAA1TwP/Rn1XznGUgxPElYhFGTZ\n4LiMODAeC2WpzjdFV77ETk9Nsqkjb8PylqXBlGWv64BuS19o1grmdY2rhPjl\nGIF8zsHiyJxPRLaLovAwfGHLwXmrDcKgjS+NUUaUfaDmkf1YzAtBgM+RwFXd\nsS7jsgHHuWKoW9335aVT8DcERykkEctJd++W/9bDyv8DGQw3QAbYjPFpJI+D\nZilPCkg7/8UPZ2mKdwR+9VtEUjGX50o2IaXqSVJeMEc0SLXVSNRakWdzoyRO\nQG1TPGYjz7A9WO7sXTwXiF//tosu3rrCW8bVP++HzJZnRxBGpV59+htNLJik\nBAsyHCJOPeAmv1HRze+cg5Yxj2pINxuY0QncEpYxYFmZhgcja1aNDvls78co\nagfFaHQboW9SPbfomBh6QhAAxhRGRuMEKU5Y0QjnDsuFn2+WocOzrne0bift\nn20NiTP6W5/o9Q+W+ltpYXu3EFJQX3qgwQ3NwYqBGhmDtyxtt3zukEUh7d/Z\nQhtuS5J/OP/IxQc/qrUAOrxF1q3o8Sg0NyqhC8lot3pfHDEQZQRo89UlOZsW\ncsYxJEJnd/tM1FBb1dEbXuloFVumjqed7ICPuOpZZnFu8DhwrHL8F3f/dLWz\nDbtsBsRwzfjKH09jDvMNBExUqFEvR8li2inetSP8hpkd9lNcObNg3jzcerzi\nWahb\r\n=LnqM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGY4hktPI3fNNsdjRgnQNGk6/c4SMzWxqaFdSCVdgfwBAiBq5nb1hd94mZLpuEtDJfpk/3KicBUOqOYyxkvHYSZuLQ=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.45_1581870461875_0.6899663698973717"},"_hasShrinkwrap":false},"4.0.0-rc.46":{"name":"app-datepicker","version":"4.0.0-rc.46","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.4.0","tslib":"^1.11.0"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.1","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.7","@wdio/local-runner":"^5.18.7","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.7","axe-core":"^3.5.1","env-cmd":"^10.1.0","es-dev-server":"^1.40.0","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.8.2","webdriverio":"^5.18.7"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] (_The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"bf8acbd30ab73d1b86ea1c72f649a993c21377c6","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.46","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-jgOzO6y52m/0WbVdEVjNpGSq9UugrPfi0oF6hMgNg1inTzWfxbUViEb40jIMzPIsnTivFxJT0mJ0Z8QMjQov5g==","shasum":"3191987e25b591411d27108c995cc5fce6572678","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.46.tgz","fileCount":96,"unpackedSize":116110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeU/gmCRA9TVsSAnZWagAA338P/23OCsylaxFj0oVpdDmq\nUWwC5JRsICGFeFZwGr2UqeBtQlwXN0R7m2+MPC16tzN5zNl112pgg4qei1D2\n/qZnX0DeZh1EAnfj33ntvn5VB6hV6ZF+InAqyzilEL23OTgyjlUUVRWlbXFM\n7j0YI2+7T0uGqQ1jifHCHrR+TNl6ZFXgOCablJJ0vJrfeQzN1uOWRGmPFhmS\ndPTfv8w98PLaiUJ7vIM2SotZHxFMpDGBRz29mBqKvsA6xafAPEKDjyQiNKkC\nYZj55fOx7+BRozjStE0lhBQ92w0wWZLD1TvPpZS79QNZSsSwAmDZx8vV0Jgr\nzARfsr9GQGDImL+YG8H+sqi16Kj2SbJYvdsv3iiKyIHzoA3oowUp80LLXWVR\n4Nt/0Za4TRjerQT+GfeJhgI8l4auPb2FF4TEWunPUEsaZ5qvlNrq4pZ59USe\nz0wmtMMp3OJ6jtC/cXDXlwqqf6GDODcKPOif+YQMbNjpyphkaBaj+Y4y0rkh\n9JpZ2HwtE0DxTm/yWkmAyfGi8vBZZa3EDxNIICnHQbAZsjUnaYkYvGtAOD/I\nUIovKN3/jCpbaOaeP2iEQcxPIJhtZszA5zn5DVi3mbq9i4Y6NeaKu1cIb4Sz\nNrpi4eZ5X6SaV30wH8UU6j9bFFsd/a3L6KFu4ZKADldhfxd06ktt8O9T/jj8\nBBjH\r\n=VmZ5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7XeIcfB8Yx05cAl6wXDyaIybhsVrF9ySani4Gg9NqFQIhAN/qyvc8+gZhAah3WwtmdGE67pxGqrqFMs3aWyJSb7Ph"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.46_1582561318036_0.6700286068402397"},"_hasShrinkwrap":false},"4.0.0-rc.47":{"name":"app-datepicker","version":"4.0.0-rc.47","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.4.0","tslib":"^1.11.0"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.1","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.7","@wdio/local-runner":"^5.18.7","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.7","axe-core":"^3.5.1","env-cmd":"^10.1.0","es-dev-server":"^1.40.1","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.8.2","webdriverio":"^5.18.7"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] (_The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"8cab123821d5118b03bb05d6de88fb65b51eb1ce","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.47","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-7MiCD0qJWt1LZ5Jt+8yt+b9ps9xnkMdK02lW6OK1wlocft4jRO13sjvpKJ52+uBZPtCT9chMlPP7adam2m5GWg==","shasum":"535ced78b4d5d45ec45827a35df6225a79131eba","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.47.tgz","fileCount":96,"unpackedSize":114218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVUVOCRA9TVsSAnZWagAAm+EP+wUI7IPVGTokRcBk3RnM\n0PBBhQ88bYxfzzfBtYTsgMnOTzpsve7snYT3bYviEQs0+kwdIhJsAzAE8fYF\nF/QKuIQaAmcknXYfLQzbuQxuVgqybxSvHd3l/EfLBfnxNOGCwArrqaT9W0xx\nP9PGrlkyLT7d4WqvRUtrAooUGHvaGpGkimS0afYhU8TFJ4eNguFACqvKl5uk\nFOsjKo3a3ieDCrZZ+aTQW40U1l3qE2NSI6ZRFw/aPumwFpkvaTHJ6b4y/gyO\ncupQm+5mx6iU5uHDsqU0rWWNWyDU9jfm+vXU5bRfpT7pEECqg5ssujjbglAO\nDdv0ymuNPJ5zy+DVPQ2/0AhWr/NbjK7JyJlrZd9UgibB3d8UbeCBknlukPKi\noDqs5VtTrH3jPti0P+v0kPR97McdlYNEbZn3EamjITV19TuOClFPyTpGseTz\ngG+N88FjTYYW6pqqQRHlededaNL+AN3zvxoXslUuHNteSWaozU3Uk9ZofHKA\nDRWHRJvm15qTDJDcV+G/NTd1WHqpkgGkl94eZ1Mv7QqxvLfgk4TbmBo+TZhm\nUBfe2l30LQjOZOreawbmEkwBvLuvEABLEdfG5IE+OsMHyozXw3sqcrfWRyW7\n+p6gqjR/LQFRQHFwWkvVUNA9JZdrqksEmoAQLnXmhol8sh/WAj3L7uVbzoy0\nVNh5\r\n=EMwb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCP1jo4SvIbvMnp/zoHa+hR2H+li1AK8sVcQBgNLqc5/AIgVvUNfUaS5jVcCt5pRi51SsDUvAMOgS5a9STLiOgPqJw="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.47_1582646605923_0.366099292346733"},"_hasShrinkwrap":false},"4.0.0-rc.48":{"name":"app-datepicker","version":"4.0.0-rc.48","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.4.0","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.1","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.7","@wdio/local-runner":"^5.18.7","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.7","axe-core":"^3.5.1","env-cmd":"^10.1.0","es-dev-server":"^1.41.0","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.8.3","webdriverio":"^5.18.7"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] (_The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"a764e8ccceeb2454294f0f290f6d9fa6c6c3bb4d","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.48","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-2NCbPpwDnvH7vyVLYy32jLt5Qz5aMzQG4kodV7ZM6qCZCXXyhERxRKFQJGp2MpdYrnUQekcG21RMjfOoTvH8Qw==","shasum":"f7d5ff85c31a03911142139cbac3d7cb702ef66e","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.48.tgz","fileCount":99,"unpackedSize":116599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXULgCRA9TVsSAnZWagAAUnEP/2ORCjEEGD/LJPXLE0f3\n0o8Ba8CRqoFskA8ce1wdhtQAbof3ET8s3AxCLiNwpE7mLRrd6T6D74kdyUWJ\ng4/jw57r52MW02e0z+qhoKwfDtPF1OS4tuucShewZy1lxSKz1Oj0TN/YJm5i\nGc/lTuvHoe1fyP6nMsZvoRK1Q0G3EBecQMKyG2m50skFmOaD+xquugaKkNzG\nVFTgScDscnUN4xD5LYef4yNZd2oXpwAxatIEk8LFEfGUwEGHcezZFReq4pSA\nyDyHKbFdPfNB1k+91v1TJgt1zB3ThI7htEVEdhmvmQIzqwEYpwWsD8WK86SL\njZDqWi8Y+2RFc34I0aFywahn9CXhWErZcJkfimahfbcrJ79pPLSMkCQ49LnB\nXmRtWammhjBOIfQLV7BiLSPli/1lRv7cOr9ll9THufxt6JAlFNI+x/qaF3Jf\n2SRNhaS6pAPudNxg3w9mmdvbh9rGdOtNBJacya4SsJifYKZKnrTPNJvkiMl9\nqVkoW9GMzpRP4zslS3aDeyhv95yvzIKkR7RDwC1fjUfT1Ao8kjJLkZrPg95z\nhc8vhazo0lroI48Pw8Rfy7mYwzqkTCLMwSEZ2lCZq1o7fcVa+HYg8WexyzEG\nYVeHyEVS57gnuGheyhS57xSG4P7yVkbM26rnuPTIykY8oIKLVbI543shtwGT\nhkdt\r\n=fC81\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBzRywi04oZKewRzVR74psdoDflqdIMDMp4H8hjVxAMvAiAdWOXyB7KGgzYn0pVc6Gw/5cSkDkwZ+8Ya17yrxbB7ZA=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.48_1583170272185_0.6029732524748306"},"_hasShrinkwrap":false},"4.0.0-rc.49":{"name":"app-datepicker","version":"4.0.0-rc.49","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.4.0","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.7","@wdio/local-runner":"^5.18.7","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.7","axe-core":"^3.5.1","env-cmd":"^10.1.0","es-dev-server":"^1.42.1","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.8.3","webdriverio":"^5.18.7"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] (_The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"97c213e9cce3e75d9b5b159629cce43879bc85c4","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.49","_nodeVersion":"13.10.1","_npmVersion":"6.13.7","dist":{"integrity":"sha512-ioJyVlDN3CmXCkPBninU+pt0hWxg3825gN4q0cf4G9n/hmfRayBLvQdeRfcv4aeMFR5HffPgFuRCssiJyfzAGg==","shasum":"6e54048462ac5b6fa2096346d0c40425da07301e","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.49.tgz","fileCount":99,"unpackedSize":116906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZNwyCRA9TVsSAnZWagAAqngP/2SwzFN9CYd+dbiH8Op9\nZL3tJLED2GD+PYT2LR3Z8soTmH5MbsMwbS7jv38jk7ZBmi5g23duoKvKpJRu\nz8VLm5wLC/Bu/c7QTkttjKUfqh0e2TnNesyC1TTi2yx9r4eFiuRQ6N2DL198\na00JjIkO4YrLSBqkvipx+pfbbRdf0vILS3SibAmqxE2PlAsNTke67YEEiSz1\nGmgVVAU5QWu1i6aIdOHpM9m5T8m3BrxBZTy3kGJpGik25qzdvoJEVAcYTsAQ\nKzgxpXguIRkWFQ3dRZQaJl1osBMC2vTZFthCNNupeHt7PNWYQR5HNUIRGo32\n66rArK5BCXLzhDQiOLhJ3oewR6Af77L130eWiTQAqtzTKIGQqFD7FqGWpjJ5\nuDRpdE7BPGx8hgdMwO6fWy3uNUD0mhSKH9/WfgIwb+CpDHlxP2qWtg4/0Vy6\n8BjcGWG0gnifh9BSubqO7gxI0zRVyPPE3am71JgWkgvWHyWrJRefxFZGHdJz\nDmWQf78mee2bRx0EGCmNX8XN2uhf6kFmWvOcRkaQMIi1Hb2JOxgSvqccEoy8\nurlUMyvSxljfxYQPLCMSdx43rZH8vdJdK4+Fh9HHru3LfK/B76lcdWlu5piT\nvlirkIdSh5gSqY8t7+JvkMQzIsnr7eYgnPVctDa0sBdIAHCB8s90qc4sYW2s\nECdn\r\n=ULCQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyS9jHjx6H4w30VkVwFRmR+g/8zp27gO+OKE5MdPgrLgIgRi8KhmnlWXvT410DjBfKFBZGqqyNl2h8mCNK+BWCmrk="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.49_1583668273875_0.13885745667347038"},"_hasShrinkwrap":false},"4.0.0-rc.50":{"name":"app-datepicker","version":"4.0.0-rc.50","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.4.0","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.7","@wdio/local-runner":"^5.18.7","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.7","axe-core":"^3.5.1","env-cmd":"^10.1.0","es-dev-server":"^1.42.1","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.8.3","webdriverio":"^5.18.7"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] (_The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"9aeb37c1dcb6a369f1fb57e7402de4b8109a994f","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.50","_nodeVersion":"13.10.1","_npmVersion":"6.13.7","dist":{"integrity":"sha512-uU2p2bD0LH9tYceqsONjLc9L51L9xDZF9OpGFo9gvV5/zosUkwLiUYsXeq9wr74C+KbtjZ2s6Gzliqsi+JrizA==","shasum":"ba8c8cddcbf039a47b3f62bb82de0011f15efd9b","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.50.tgz","fileCount":99,"unpackedSize":116939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZjAuCRA9TVsSAnZWagAAvmsQAKAQiIMLpK4LCGYfY+q/\niUvog/b7MeX4A6k+trUW1elEbo1uRjongNGMx2atjYyksDv8U9cEFB8VSeqR\n9weh16af8r6DdYD9Xot2JR7CWv2erR1LTHhvsdgoAWMZ67ZUjwM235ETJe+V\n6xnfAMh9LivQ57rxQuUNcBaAM+ackv9uvI3vnzedOUxrXdUV9y9Vr+DS3eVh\n0ufxWeA7oF17NTajLV9hKrXb07R8iQg02j1IHRvnh8rKwdpxs34c5o6YfHIc\nqShCBgY9nGSYE9KAbpZB0buv3L6ONuyPpT55uBE9tu0pBVmyK7MRmjUcoGo1\nLvTak4IEtV+DHKDOuPvpCLKtviSlxqj17A279RZO8uOGJUwxpzkpnfkolrIp\na90qHNCPXeQVfLpLWesQIJHNtpntHBwQQvOimXnwA5nQbA/YgFUGhUqYq4NT\nBESOilK5y0D/Eq9diWVJt5/QqFOsAPzg+MhQ3INdqKMtPT8y41/bIpb2P8iv\nbCczU3PWwZLRpglWXwQ8lY/Fv7QUVguK0kPllHEs/R+QdrIv2IoPeybtFPzA\nYdyTEIA6rzKXt5N+psjWI2O/198JC4tiY78AwwSOAFbSGyRYFEKBwHjSmWL8\nB821rCMAUqP1gGiHOqk7AuvydKgGm5xGXZ+2M/Q0pJ+iZS0TDCEZ/62Mjzmp\nkcIq\r\n=MrAf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMac8DlW9CLQxK7+PEVIWzf+eUC+cznbkYKM89Frf2CwIgE9HahXufCM3EBgnp0WLAlJgYfNw7XP0uRAkq/17MayI="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.50_1583755309476_0.9555557197767586"},"_hasShrinkwrap":false},"4.0.0-rc.51":{"name":"app-datepicker","version":"4.0.0-rc.51","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.4.0","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@wdio/cli":"^5.18.7","@wdio/local-runner":"^5.18.7","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.7","axe-core":"^3.5.1","env-cmd":"^10.1.0","es-dev-server":"^1.42.1","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.8.3","webdriverio":"^5.18.7"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] (_The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"bb7d3976857d1ab14efe9fbb7e8c7d5f08a72a02","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.51","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-bgjgqn9+4r3eiMv2zqL9Cw4ZE2xeFPSsC7ooZPfBZ7WVv+x22jKjWCY+ejStbMM50So7O/oi4C0wDO6iTImg0Q==","shasum":"f1c3c0629ea5040ac5432677d252a267ae90139b","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.51.tgz","fileCount":99,"unpackedSize":116984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJebG6eCRA9TVsSAnZWagAAhJQP/0qeIamIBkQ1VX0DWECt\nxQIy/Q+mJiZM9RBv5DMpXxsB5kMo+ek+yDNh8ljCFgHlJnKEbumnwckvNPHI\nxqxOhIGj3uQFtZ2I44yPVziENPPqEbFoE089hM8NkxnZiU9vPNNZ/fVoDkKh\nB49vs5iuTgBGnxWJ/+DcwhbF4Be6f/BxPLg4X4cT6H/Bj99PCO5H9tS09Zlw\np4b2HQvRgPCDDQnL5BUNpLa9QvFPYlXV0ypkGr0MwepPT80oqoxXKEiySjV2\nt3yGu1/WkW3VSu0xxfoqQB1TQXFA35EpeDjwqKe2IYaqI9vcbJ7PTvWyM3Bn\nbaw0KKZXoA44MWF62ftTeGxDTRhjqU0m5H0pL2H7QRIhvKuTlXkUNRa0AiBu\nBa57WbVfU1Z0xRtA+bGO8h2oQIck5THTsAPseNcPoP67BxVSs7Xij+OMCb+1\nqXqx4Z6c29vlQ7i6pPLgJHxEAoxgL6bxYquE9DI2p+jzUjjG+0hg4q9bQIPx\nJadGAZmAIl4s84ZD8dRjyE+GV5Hqwybt3oQ/larvkablHCzXBXrvyigR8s1Y\nkP7OxU1R1D3HxIlyoWV4gmeeM3NgjLIi1wKOL4Rao3UC5lANVU1vtzNQjIC+\nWmiRXy8C7k3ga2/MOna0g9ggm7d7vbPRtDdUvWtHvl6FJ5O2TRE2y3e0y6g1\nwbYK\r\n=kD0v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXqYPnRnZ5UcPwYyOJDkbTgcyw/uHPRlecilM6ZfxD0QIhANNj3taSDXaDMeVClueFgPZlTWcWjOUk/nRcgD8XzBTv"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.51_1584164509685_0.9759054180925018"},"_hasShrinkwrap":false},"4.0.0-rc.52":{"name":"app-datepicker","version":"4.0.0-rc.52","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.13.0","lit-element":"^2.2.1","lit-html":"^1.1.2","nodemod":"^2.4.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.4","@wdio/cli":"^5.22.0","@wdio/local-runner":"^5.21.0","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.16.10","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.18.7","axe-core":"^3.5.2","env-cmd":"^10.1.0","es-dev-server":"^1.44.0","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3","webdriverio":"^5.21.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] (_The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/app-datepicker?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[circleci-url]: https://circleci.com/gh/motss/app-datepicker/tree/master?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","gitHead":"600c94c31666e2136ea82949f0f2b597e68953c8","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.52","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-3le2J6mOuELqWiNSH5rBfhDDx42usPrBEV00i87es592GflCRKpLdqumiZdFenTKtynkJyBVdqEwpmN6GZEtdg==","shasum":"b89c11f7ef4054beb3bfd73066ce40ee14cd59c5","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.52.tgz","fileCount":99,"unpackedSize":117043,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJebgVECRA9TVsSAnZWagAAU0oP/2F061lxyWZnQR5err+A\nL5t3lK2Or+uw9WAqlpJrSlfveOraA1drR/nqAMvYX5y9ON5bRvi1r6Pj78+g\n+83FxO/s8a00QfgKqtCIcZvCGiR8R1wyMgxyzyHC1WadnSTlgTHizl16I8jJ\n58MCzEUBQoOQ4v3VazY883+xM4Obh1cbCL2RDaT85uNJp6uEKg2m6+tWYuav\npd/0kWSMKmgV4H1jXTE0+dm7rfDx3SIXZpAnsypjd5rghoam3Cb+/spA6CMt\n+8eFNVlc/oTMD6c+XvbwtWmoQ95fDaQPqrVqjmv5FasJghTtaIaE9RnjWROs\newGSKSeSTlXmV+XvwUUsNwujfp8SJteuNf/1CgoWU/1HjhHjEOHV2MQpMW3c\nsKFbNfNbNSVDCbdHbVRMEAoq1UW9+XYzlIwwGsXSTO718V8nAw9sPwSWGgaE\nTy1CD7KWz3mhzeI1IWKHlsUzBouZOYTIkjETg8h6IdkWbI6hCkLUdKSsLtXp\n36UJhi1CdsVp9Z2rBOrC4753Q1O2U9Jar1lhZfeCk3tJIX+W4pvqwvwufIX7\nf7AXQHcODt40Ha9pjdQ7+EiGoM3tHglQ7T/6WmgGzJrJbTHo3O+7/myaNixX\nmAjEWNvuzYslDNmuS4ph5aaFU32LzqOYnzdPNIuVLPyK/t6wQDh/81bXXWaK\nwum/\r\n=uXaW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmTsLajRIRyQQQ4+h8rRDL1+zLqz3DGYzSqg3IUoTu9AIgG4/9cJB0KedfOLAf37kMwkODuAnzi9N0/JeAuCcEVvg="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.52_1584268612137_0.17194135652954756"},"_hasShrinkwrap":false},"4.0.0-rc.53":{"name":"app-datepicker","version":"4.0.0-rc.53","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.14.1","lit-element":"^2.3.1","lit-html":"^1.2.1","nodemod":"^2.6.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.4","@wdio/cli":"^5.22.4","@wdio/local-runner":"^5.22.4","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.22.4","axe-core":"^3.5.2","env-cmd":"^10.1.0","es-dev-server":"^1.45.3","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3","webdriverio":"^5.22.4"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"ab39704f091baeb8124e2edc1910c55e63dda664","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] (_The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.53","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-AmUZETIXXDUzkSG6efYp6rcccBFO4YXkmBHoIHHIYLBEUGQm3sq1GQqFyc+GH0hNrHgFatcY9feIYipy6i1hzg==","shasum":"58d9d4ae9867e84f484ae372def242cb1352a51c","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.53.tgz","fileCount":93,"unpackedSize":116134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefNevCRA9TVsSAnZWagAAXQgP/2JYx7gBxfNMHTnAFTqW\n0NKPRtx9dg8NsUT3s3Qcjzv/Mt1gJVoj/QZfKuRXx5ZaE2FeyvY08tL2KRbG\n9b5zM22ObWnBz3+8mO235jx0urVc+lGbwGOf9QCd9uY0HC0rpbvK4Y2HzKOc\nwTm6UM/Mu2vcn18bEvAkOV8LJADmdnELHHoZi6o/qMTmAdzeXe9O8e69+v59\nSiKKXJZXQFEfHBC+Xtm/C3+Fh1LdcrSKVxkcv1aEuOdJshPZIc61IZTP6Tzq\nXHxwOvwMHL7ME/I1LCF5/Ae9zzqDgfBTR4RbfQbnj42u8tA6PsDxF9srM4lc\n2T/WeVzTx8kwVFjPVlef2/KywkVpNrJKkkjiI+EP+QFw/IlPBYaz2oQ3kydM\n+sgBqSu4qr2HxlsztP2CwnW89Yml9fmQGGq5hhb/kjX1p13xC0ZRPK+rxFtP\na3sFWF3qrfYKOTMROcL1HSMl/GoEj8zzNFF82pKXK2F6e9vzwGTIl3MGhPal\nasMoLgooaGddIfcdC9btPa7elDp4f8J9NcKwaFbxbrx8JazgtA4mXmY2O7RE\n1E4cnz8r5wLcO5WFvJD197nNsSMOta/CSjKV9rB2cT5FaqJRyVyeAwBlxk5D\nk9/ajVwCHQ6LN6x5JSfqINip2hMQ5TOyluSmrL0ZsoDxG+Yobrthh1LpdWYc\n0TNn\r\n=u7Vq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJsXqlndK7i9VfPyq0RpmwKu5Wf7JOJtQDQyiDVcirKgIhAJrSrAyo1sWCjGyNJn9y9WhiULI6I2u7F6mxXYiSbxj5"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.53_1585239982660_0.8976165311785267"},"_hasShrinkwrap":false},"4.0.0-rc.54":{"name":"app-datepicker","version":"4.0.0-rc.54","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.14.1","lit-element":"^2.3.1","lit-html":"^1.2.1","nodemod":"^2.6.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.4","@wdio/cli":"^5.22.4","@wdio/local-runner":"^5.22.4","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.22.4","axe-core":"^3.5.2","env-cmd":"^10.1.0","es-dev-server":"^1.46.0","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3","webdriverio":"^5.22.4"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"158d8c4c42c479e8e90dadb19ff8437cce8fe871","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] (_The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.54","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-p4IZ7QXvq2sPotwpJyNOvo4V6LI3BuOv7+p7+OVUj5lk4h94BrTzsRqtsFWIcNnNPpcqtbSV7W4xvo3OCy9+sQ==","shasum":"90cda36a268e0e840f0f67f2d87d478012e04161","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.54.tgz","fileCount":93,"unpackedSize":116462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefy0lCRA9TVsSAnZWagAADXUP/1nQs4WoKkLgv4BsIEFd\n80f7VvfD9koXCYB7B0FJXNYg86SFN+sfwoymlgGRBDHEWoBVrT179V0/hmad\nrOfIszEfZE3oRHsGKgH6/4PUqNxZuOvrUtu52wW+MdVziye1uPsOmzhds/8y\n1A8eHajioO+gZM3mNpGAxXVju9NHn8RITXl7kZvzXmlRD/K7xXlSaxx2v0UQ\nqtJ9WF92n2i1WrSnHsitkP36VWAqf//4cpTON6VeVl7DxVNHJJtDs4VR86cb\nZMGx2Ktgr65fil+MQoNlXvLKB4W5cYztToehT2R7X4yKv6Fxi9icX7Uuur2y\nbaE6z3UFPjqVcU4IXlnq5Gvmm9Y9EgIvcmPhmdrSY0AdRhmufEdBR1H9kjfd\np0Id1ujD9XO1vFTjRyuoVWCIHej3nAdc+6df9wpbSaZTw/mtWXbmKxEhr3N2\n2iJDTmcWQbIodVLu1QMPIq2RYQwqFCcyiw9GmGXbzVz+jE4yeU7RXUAtg91X\nqioQFhSvcP0ERrlAQDPtpMDrY4RHCJexhndoIZwGt3I1qqxkMGYgSdaOA4Z8\nIkwv7JsGBlhF0c58mmkfk2dj/KElmzVPf6bxjoxGw1Ra9XCr2UBpdmdbAzth\n6JCPbcWeZBzMGpuQ3Ki8FaSfeVSfMXQp1DJmOc7Qx9GgKWAoIcEyooTc3656\nTGDB\r\n=xb3t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC6SXexJO+3GT51vpXd10ibM742boThv7tYtqy5kwDKhAiEAwWQ045HmcoapMn9ryNJm+sXrggf60WclIlKjyWHXBpA="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.54_1585392933218_0.8401186416629736"},"_hasShrinkwrap":false},"4.0.0-rc.55":{"name":"app-datepicker","version":"4.0.0-rc.55","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.14.1","lit-element":"^2.3.1","lit-html":"^1.2.1","nodemod":"^2.6.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.4","@wdio/cli":"^5.22.4","@wdio/local-runner":"^5.22.4","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.22.4","axe-core":"^3.5.2","env-cmd":"^10.1.0","es-dev-server":"^1.46.0","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3","webdriverio":"^5.22.4"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"095d1ac95f7aa9ea7cb5b8d081eabde7555e3a26","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 🛠 While it is still in RC release, feel free to try it out.\n> \n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript][typescript-url]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Works well with `mwc-dialog>`](#works-well-with-mwc-dialog)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] (_The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers._)\n- [lit-element][lit-element-url] >= 2.2.1\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        const filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      }\n    });\n  }\n\n  if (!window.Intl) {\n    const wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = () => console.info('🌐 Intl polyfill loaded');\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Works well with `mwc-dialog>`\n\nFor [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\nFeasible source code can be viewed [here][mwc-date-picker-url].\n\n```ts\n// Simplified code snippet\n\nclass MWCDatePicker extends LitElement {\n  render() {\n    return html`\n    <mwc-dialog>\n      <app-datepicker></app-datepicker>\n\n      <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n      <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n    </mwc-dialog>\n    `;\n  }\n}\n```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-js-url]: https://nodejs.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-releases-url]: https://nodejs.org/en/download/releases?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[npm-url]: https://www.npmjs.com?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[typescript-url]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@next/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0-rc.55","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-A+CKfogJglOI93jf18qrgohokEGqqJGby8nLXvU6a8lS/Y04PFEz2i7yjbJ1sJOXCEJ7nHMEIblG3tCpoa7wpQ==","shasum":"975246ad803b7380acc06b8258c5c73287c44071","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0-rc.55.tgz","fileCount":93,"unpackedSize":116056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegdxSCRA9TVsSAnZWagAA9HIP/3m6xLPg8SxyiJ9afFia\nf9bJ1t3aZBUARQ45Ge86oHtnIrKW3woEpA6pmoLHNmQXZ299tS+bikS7HxHD\nOciUGOuCwFzqIY2E5StD8jh5nUbvM7dTC0pHOOd2NCCkBHcKop2Ruv8FAr0v\nBCJz4OZA6eNYczN5oD9tDxunG9dhL3kKUAm5JedtWDhFyUGI4h7sO0+Y4yGx\nVV/Oro42e2nvy/a9gjoZ7v4cCJnyIo3zVz3Xm0kSl8r6jh83fYDOfIgdh/Aa\nD8eh2wPA0hwqfecqg/fqqQ83V03ySRVfikx/qfhDv7LJk0b78IcaIISa/ynx\nZV2JMFuOoTGpO6IZlfBgFy9f8JtykQlESy9HWrtt+P1uAvRuH63ZfMQtkcF8\ntwZgNKVolUCVkO9RRKjv+OXvSi+51OcsZLFlo6kaVrCjMDwFL6sAI35hbFSv\nFZYvEEi1yyseP3C4Z0vkE9Nm0DJW7X15Su2AWIkYbrZwLtfvYazbgkGnbTPR\nXx/JWoMktd0RdCkH6MP4OefxNt+VeXlCEK6yxXgyuV70FU4ARl7NKTEBaAgW\ns2jY9ExzMe+eERu8NKHA1F5o28ghCuraIfg8TBW4iGMFrLXwEiqvrdKPpwG7\nOJ6PCTBWHR3N5HLk+LaQyUnyIew5Ggod4460h2MixMmgLOv14nvVsDegs2Dc\nSkXQ\r\n=LpzC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCL73S7ZkZz4TNh9NXe6Mtuu01jl8JTDh53/e6kaR035AIhAMAdloJd2fwPk9KwVpQHJrOO5qL6PFpZwnsNqMkcMUW9"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0-rc.55_1585568849971_0.704416041344375"},"_hasShrinkwrap":false},"4.0.0":{"name":"app-datepicker","version":"4.0.0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.14.1","lit-element":"^2.3.1","lit-html":"^1.2.1","nodemod":"^2.6.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.4","@wdio/cli":"^5.22.4","@wdio/local-runner":"^5.22.4","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.22.4","axe-core":"^3.5.3","env-cmd":"^10.1.0","es-dev-server":"^1.46.0","husky":"^4.2.3","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.1","typescript":"^3.8.3","webdriverio":"^5.22.4"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"2a66af13acf62231630139b5e7664ac48f13812e","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.0.0","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-9xmhq5uXy/CXrk+EzZUlZfebr0z0gribB8v1wAUa6DKkLjOPtxN0fRvzjVGDB3MMOrna/pDzMqbdd90NXpiVgQ==","shasum":"d34417fbc51313e233ae1784348cc212d7bd5350","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.0.0.tgz","fileCount":93,"unpackedSize":115680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehfvqCRA9TVsSAnZWagAApwUQAIwRp2UeIPHalev6U4Eu\nVBvnuu6wBpYoQ8QaUP4/V+XXFI+UB43XbP2esQLQIUji4FjAPKwGfQj85k7/\n+4HAwSNl3nICKYMGkEiSToKKjQXAGvdsocmkknbzN5mUWgn/kiODR5E2VvCg\nAzQHWAZB16So+APyKolA1utv//eYQDomVaZiCznHo4YVxscWpUbbVKgel6Ga\nw/DSn/pRtB/zS3HN956qc2lZbBsL81qI8/bL95kTCZjJX+YtwitV9QTb8fLO\nuSDsHiUPWz0+7ltuAkEYKN4jw9JHPnuh7Q0xlmfXE2s6r7VlPgMge5IPshhb\nwDk7C0QXKzSyVw6WG+BFqnFEufQSjPEhuliM64/7Ao/k6u6lpUGeGXr4kUZN\nJI1fQ+u3tjHgCEA9/oE57J195cLThWcSqHoiAkpk0TDTR9yuHdqqX4dvLHSW\nP0dgICBl1lumvv+2VGXmiXgmR+1s5TcEnfuvQxAdZ9KWSMRTsCWy9laD0Pli\nCqviP6maSZOZq3HBRRgUm/7DGyeM/VpTdvljLhU+BQCtiW1UJOFAauuE7XCy\n/voXxCbyzJbxF99az/K8RLeVuw6V9EBo9Yw26MDiakyAVuDcKW23r1ErIi0e\nF+hLCealfGJDTrEx4CkiD7x6wlw+6jFJhw/VRje636yp3+/QUv3VKJ6ds8cj\n+PUJ\r\n=bytk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3+ww7Z9NiU83trx/5ZTGETLujLorsT7EMWtmYUfdDLAiEAxSwuN562xGNE8RQx4nWCol/lweH82fn/CVzn0DoAnEU="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.0.0_1585839082279_0.9595449891277676"},"_hasShrinkwrap":false},"4.1.0":{"name":"app-datepicker","version":"4.1.0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"sideEffects":false,"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.15.0","lit-element":"^2.3.1","lit-html":"^1.2.1","nodemod":"^2.6.1","tslib":"^1.11.2"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.4","@wdio/cli":"^5.22.4","@wdio/local-runner":"^5.22.4","@wdio/mocha-framework":"^5.18.7","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.22.4","axe-core":"^3.5.3","env-cmd":"^10.1.0","es-dev-server":"^1.48.1","husky":"^4.2.5","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.2","typescript":"^3.8.3","webdriverio":"^5.22.4"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"bfa9ebd8518eaa52f95f32412c1f4f905186d854","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.1.0","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-UyQH3nhzxHp+Pa1c/EFnjTzkKbHksqEHJcFbxEs0CBDoGPpe4MhKCnE1Tt1X3Tr3UB+FP9pVcGI8f8Tsk/XTSg==","shasum":"e3b03f4a350f3d9a4d85c9e367036f66ad4aa147","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.1.0.tgz","fileCount":93,"unpackedSize":115680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuA71CRA9TVsSAnZWagAA5FAP/Rdk7CUsjy43RYvV5wtU\nl+ApiKUykF6De8n5RtrtGgxqnWPyBryLz/NjnRGaXeedln2kVPZtufd7Fu8O\n3/w/6Myk5FKOeQaQLeSnLiCaJnl6DLzInDBdbt8baM4vJV9cEcvHACD7P8C0\nGsrZitEOB6wYeIcLcxM4qGzSNHEMgr/R/ZS9hM3TV4qpiYwo6Sv3AW0bgb3w\n6gOdj/WyMww7kbnITF/2v+ammWdsiV5j/wMTadXPiBbFeR70qXS1DKyVVWXt\nr3XBE8gocVAtkua7LExvPKB/wp3j9yxh72/v9Yyyz+e+k3hDnLxBOaBc/FV+\nnzy4rg7JfVqwajWMh8mnGjqr0PgRgep868Ykxx2oNiDuM6Os10yHcJBy+8fB\nL00+kfqdhRkrD3z3x4y+xd/Y477tslbxWbjecL+vJ8SQcxYUjWTfJCj7IBAn\nZ76kXWMyQx9yV11e7fjXoVTI2D/zhCxO8jUPRjPx0CckzCtheUmzpKrTy/t4\nRYkAJc6WCsaPuSGiCL7gcyOJcrO2kqtDOQr45p+5wgFK7Fh1wNdFMmu+bY/o\n+zjODYZhRSOPOENjtCO5C9P5zJr94I24UGOhOijZJ9CBy2SlASOESJ0tW7ac\n0T2EIwJLDyju+DtnKy05eT1cUxq04w2iXUtUnYBa2shlkDREr7Qii6dwS8bI\nZknJ\r\n=2NCl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqdBlQbtnYOlHQVeaO1WnueWl0wbJ1W8A5F5PW4D5lhAiBkRU1FF14GkITPAFGfC6FaPkepgUW1CUALxlr8oqRdYg=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.1.0_1589120756507_0.7037621335697821"},"_hasShrinkwrap":false},"4.2.0":{"name":"app-datepicker","version":"4.2.0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.18.0","lit-element":"^2.4.0","lit-html":"^1.3.0","nodemod":"^2.6.1","tslib":"^2.0.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^1.57.4","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"9707581f056da1fa0ba13cc95c85f4ecedf722a8","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.2.0","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-BQsQaFOSi5bK441K6X844aoYKVJXXjZ9F663jT/OG5kZuHzxTG461hwweLPF7BHSrTK2fHO/Lh1ILF0LnqqF6A==","shasum":"df5833d31565903e877c278afabeb9628cbaebe5","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.2.0.tgz","fileCount":93,"unpackedSize":115691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfatUOCRA9TVsSAnZWagAAZV0P/iCDFfbhAT+Mdigmd+Iv\nUbxDdKTHRM8gZkXHbniLibU/OpgL+PSN0FL7ZIB9Wj+/26clR60+wfU07FUC\nHu88w5pOXYqF57bLHy6mZQx5BP5hSWemklGrsDNK1ucmZ2aGQafdFGRVV7U2\njCBf1fLpTlSkvfA/6zJ6XHtRov/bIU1qZcqbBpItMBY9Cko8gzbmCjoOBfEC\ndzpQMiyv3J2pTq1NjMZ5bsmwJBtTRBsSTGv+zD8Lxbh637sYRyi/W9guesfl\n1MM0uejUHVzqS4QCthIank6qXRq6WOCID/oImen2Pb9j/PanF6V911tKchew\nKtuKb2/if3Kg1zMmFaTcp/SWOAdfuzbETmp/WpbDzPNEQlKm6oyyDed6UQum\nuuvGd+sKOF/Y5GLVLgc2UNHsbTtv6TfVIqnVrevRzun58Y5VPy1xw0VTJgHq\n1CiicN3+/u20rKINkp/Y1F1ZZunmAx6WBf2hPRUDV9aHnARegpk9oxhjwDe8\naR11u64JpHy7FHN2Oh4U38XCcYd3i884yPfy3ye+Yd+5cAf9PEjqbE6EiB9C\ncWFafYwg3WtRYLDws4ES1LnQm0KTlscWnX6xSFEwmqZIIbcsEP7EMruVyqyh\nlIUNFQR/KlVQOaF7XJXmQ/3tbgCmfHKBqJitYPQixVb4YFIY6MAhzZX0yTp9\nGNDP\r\n=P0e1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAQhXk5VadoN8kmg8E8n7F/tbJedBF1Q3Ru87RgQ45/qAiEAyWT18gix5e1sAXrMFatRURdraWnyNyvI2C6eMrvLlOM="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.2.0_1600836878316_0.7596061462564152"},"_hasShrinkwrap":false},"4.3.0":{"name":"app-datepicker","version":"4.3.0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"main":"dist/app-datepicker.js","module":"dist/app-datepicker.js","typings":"dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.19.1","lit-element":"^2.4.0","lit-html":"^1.3.0","nodemod":"^2.6.1","tslib":"^2.0.2"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^1.57.7","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"7ba60f27642d314b9415fef6ac9599c2a810df7e","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.3.0","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-e29+BEOYsdKf6Li2abjKomT+RQm5/JO5/iu6jxb7P4MRSQiV3IBsr4akJbNSSR8d4qjSTs1vxEXWHpX3PeL1lg==","shasum":"b868229a0d4b9c5e16a792cd29c51e9735792af6","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.3.0.tgz","fileCount":93,"unpackedSize":116251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgDWUCRA9TVsSAnZWagAAsn8P/0Cv/95KuRlH0JaX/1cP\nNU+paNWt6fxiLwAoZD9wGLC7vdt9WcUfvG7ABhAktG0++09p1bsD1zxywG9C\n/K9OC3772zg5T7ug0XgIOHEgwx0Wr+WFMnLnpE5174rlsb9DTZ372ZkvyODG\nWgLh4ERIYOdR+WHz2NUcy5k//JZU31NNXSZraHuwc1qhTKTRI0a1oH1uUYFq\n++4/HQWt2Lx76dX9BhuU8Optlpk8TMN79EFliITEewovcyZHSlJdWHEl+tB2\nLS+CRE1+XaIm6cgw+wX23m9TbqC3U7SEb9DtxsB+MmCd4N5WO/M9EWHqzvmM\nhPXdQPHhyW3GI9fAoZl5RdvR3E8wxaINtRxqQF/Xs46ZPcoMIwX7XJ6Hp2TI\ncgO71/dbH21qvgt9m7oI1PQnYdon2J8G0y6dClJ2se8rmJn8RyPqGdfd/jcC\n0iMQHrqNmhm1AvM1xqKmLzbCPn9DP5mTd1HfIImN2v5JKUKQc14c4nxLO6hA\nN8r+KMIWBvwgLftEH0Qb6oyH6cNL3qk9BvrHpQuw1IXPgJdpu6BOzyZjb78S\nRExNRvLoOXz8qKKaB7lL6WwBsGa9/6xZCk4tP9Q0YOP6+Y+TyWMAu2kLgIPZ\nZEE0m2v4gUyLsQM4mrDwUUtBrZXM0KhRdbF5kXUgUGDzu3voGCBdIxaZSlX/\nPWY1\r\n=Qo4R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZt1QCKdmJLU18VSz/LeqBPJ3IN82WRA6r78I9Al63XQIhAPy7dbMClrFv5xb1TTJRVCaZ4tT+D3ZfOVds23xCC9uf"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.3.0_1602237843910_0.1827978952897953"},"_hasShrinkwrap":false},"4.4.0":{"name":"app-datepicker","version":"4.4.0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./helpers/*":"./dist/helpers/*.js","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.20.0","lit-element":"^2.4.0","lit-html":"^1.3.0","nodemod":"^2.6.1","tslib":"^2.0.3"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^2.0.2","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"16c12460acdfd0e0eca5d570b8f0fc604b564b3a","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.4.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-8yb8/0mXq2PqHcg+3w8BNGkp7N/7eihYuWRauzdbRrmYBAxLbrnD6BjZMXxpjsva3F1SwonM1/KqgfwzA8siRQ==","shasum":"1f2e98b1a3ff7d16e14f89262f73e911316f7c73","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.4.0.tgz","fileCount":93,"unpackedSize":116708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1JdNCRA9TVsSAnZWagAAIrwQAI4n4OTf8nSOhsmOhnWZ\nd6/5LnLvCBCaAq0lL7YX/upUX+HlivHuI90fR+0LsPpEKIdaJBaU2EabJNhh\n7z61tiUxKp1NTx6h9F8GKAeDjOSc9YUDfktfsiSBMZh8G14poKlXCuiTR7HK\naNMBx+lQEykNQJS2b8KuWoT8n7EKieRNvUDigY0fgsHWbMy6WraBbZRndmne\nn1FE+HTIOs50YXIW8zrxiSIL+PpXoiCB2TqFWUGkNBn0rVr/tQGJ+aFJTjq6\nCWKZ/RWcqy0fRZX+wIe55HtGNpYeuuZuRw02oVg5LUz1KNQu0j3gvjMZk2lx\nLrztgT5XNbOTrmRTCt5s1V2AO8QirpsIVGJHTd69T5I+3f+RBp4zR+PUugl9\n13mG2RiJNEjkr/kHXEMJWr1q7Iad9xIGB3Nfgu4BwefjaNrkqpG9yX7EaNQK\nYS0mxS46WUP2kC+/1jp0ykv1NZfx6kIn76++CWthPp0zw+Gsycz731SCRqoy\nihOAiz6trsO9UeDaFtjsdqkgINFzwC/gGJ4XNxtFu89B8w6nYNMyViz2a8Tx\nxD6c3Z+52EQXDCGEDWsj6LCcCTRa19aAWp5l3oTeT+qQdH8ySbOKX+OLUafp\nrO0uGfXgyuSYgfTFZEo4smAxr5khkPazih4VD8amCt2KG1MIoCQtDV2JdyXp\nnEUo\r\n=/rRO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUsRy0JdvX87kZums8oJLNPQOGywUwJVRczR9u9Gn1SQIhAPcTL+pmPACytkkAuG7eMfU+vvMDizwi6grb0XzvLNCC"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.4.0_1607767884883_0.9291243862872656"},"_hasShrinkwrap":false},"4.4.0-0":{"name":"app-datepicker","version":"4.4.0-0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./helpers/*":"./dist/helpers/*.js","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.20.0","lit-element":"^2.4.0","lit-html":"^1.3.0","nodemod":"^2.6.1","tslib":"^2.0.3"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^2.0.2","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"27188bf5f760b1e37c021d6f61a584c65c1bbd18","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.4.0-0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-kFsekL6j1KrqWeeY0cmacNZpRd5NBXBHtRD05fWcMtoEGY06+EO1JkI4PtX89zdpBRiWqlkEPVtJlZmLn6FKNw==","shasum":"eceacc21583078526e5082a13f1d988029288165","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.4.0-0.tgz","fileCount":93,"unpackedSize":116710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1Jo8CRA9TVsSAnZWagAAzegP/29GY0tf29aMd83rLhOi\nbibijYiav8PTQKxI6zk1FIt5ZGMCbUCU6c6C8csKyIuY83DLayQUAF0rUTqm\nP4DdAMaIVufB/t26Dqb7xg1VNHsO963RJ5eqjXsxAautwGex5JE1B0emqDdr\n6ktWj958KK8gmRRMwQEuJ5I8TRGVw4N+wS5g3oChvgwoHh9U9kTQvhkgCFwE\noDOWX+hKKcwoO787DVnOJXH8rgDdUUay3+RN/iYwz5MJ1bOvXivQx658ZeoK\nHVWCjrannJv9BncMWN73E68h8eNU9OTLIpq68kZKeJIYJ4pJ1hyPAuoS35iO\nKm3Jl8G2Iz26K8/JdTQMkRUorKMtiQnV6HYVCjWxB/IIKni3VCglvRNntrVg\nQH/TpGJh18GgDbYp0g7/4U8BatOa/DEmtTyWWv9+cpiix3gqEvGgIRGvrvUP\nsFR3eYuJbrxh62e3Y1A8gIoy65IY1Hm4VwbFL/sAA9DtA6M7EBVeFgptsQ/a\nyl7/SvGzsoY/Z5/W5NO58Dxl8YXl2/fMompmkZ20PgAq3KA434D+EnhcCTUp\nnW9Wp7vjUgnT+0tU2c2wMxGfcPD+dJnZGNVFLW9UUze80i3zSFoGQfZQjxKE\nDwHuh/7gPaa1VuMMjEY0AvndMjjqpaHjV6q5Eou6Hc/eRMnPXvPxAIpKNA2b\nTcqc\r\n=KRmf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGw97VW6OiDGA8qXmj+rf9dpmPqEy7+B4aJjT/2bX7N+AiEA0jRbzgNM/M8RIWKUHl1esGSecNmRUReSh0mWQbEohes="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.4.0-0_1607768635972_0.32621405210935395"},"_hasShrinkwrap":false},"4.4.0-1":{"name":"app-datepicker","version":"4.4.0-1","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./helpers/*":"./dist/helpers/*.js","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.20.0","lit-element":"^2.4.0","lit-html":"^1.3.0","nodemod":"^2.6.1","tslib":"^2.0.3"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^2.0.2","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"960c94ba1640d2e34709362d654a67a1135c723a","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.4.0-1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-C2yhPmFjQDt5ArHW6o+zBIhPLsz0572KWjEZNnC149LAPPkZVPQo23h2tR/H1smb6VOIkpU9HN32gFBAU7xeUw==","shasum":"6861441d30d7c0f78b7d87ad12d9455cb91180bf","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.4.0-1.tgz","fileCount":93,"unpackedSize":116710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1JtQCRA9TVsSAnZWagAAHjsQAJUPC6XuSUiIWIGWP+Qq\nbHKiMQ3N0UnhzTrDw0mNTCWDZoKSSFSyuXBW/ymSGFTrKDimd0bKFDSQiVRm\naL9Cj5nQ/n8uB8GCk7PowLcJddD79KygnIgxMfxcXOx8Lv9hkRd4xTy2S6lW\nV6659ADZhOgyZvy2cJ3K+5xJYyYydhgX2YaiARRTlIlBoga5C0GYpWNTR0oK\nGEpm/F7ahzjeGNEzPfYNX7s5p6EnA7KSRdRjXWTBC0EH1o6OeiJpfAN6IdmP\njaxWuCgP6jDdy/+LCvvgmTdv+TaGDQLhLUvWRUtGAlhGbwaLGd1zXMswsZ9f\nfV/qsdMGtYK87bNejY7VhSln/jmasKL1ORBimx7EOXeuUlYxYMwW1aJk13nW\nI/G8okOiTC7q2jzFKNEHkFUz92IZwJzgDTkRnmCQ0Fx0yXy3e88p6EFECrcQ\nlWdm08vk+UWNtrHZGpxMx7dL30D8MIC2Z2CHdqdUJUT+JOco+NIjo0/o+n4R\nhHb3Cp3xqQJSjH7aRZNAxz4WzJHDIZmkEkMfRnzaSCOdM1WefwzYeGzORZ40\nlfkYI7gGsR0Vh38IpLjTRGpUqj8rqV15nOZoSIJtPlTgzKTaTMyBKV0r6v23\nS88ojK8TtU4i2l3YLnPmOFmwsfMso+MIdb/XzwgtvLkDZbq3mcUYtizDiUrv\nYaIt\r\n=68e1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtQDP90gsa1jLXacsVxF4KQnlXB5lVrrbqiur2OUTPtAIgTG00uBIJRBE08mv0HBJ7mICWiMLYU8Ko5HhkmvPYSM4="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.4.0-1_1607768912294_0.006516506271448508"},"_hasShrinkwrap":false},"4.4.0-2":{"name":"app-datepicker","version":"4.4.0-2","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./helpers/*":"./dist/helpers/*.js","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.20.0","lit-element":"^2.4.0","lit-html":"^1.3.0","nodemod":"^2.6.1","tslib":"^2.0.3"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^2.0.2","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"157638816772e19e35cd333b94699f65d6a0ced8","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit-element][lit-element-url] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-datepicker></app-datepicker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-datepicker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.4.0-2","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Dilmg0XesiQrsSLUrWCUGFM9qS7xVTtS8kjHAU3s/xM2fA65O8dIFn8+5RNphU1Sp9nQrdMuFK9fP4lVVf3/yg==","shasum":"9736c2dc2fb8ce9326cb7a866414b1119badc743","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.4.0-2.tgz","fileCount":93,"unpackedSize":116710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1Jy3CRA9TVsSAnZWagAAoL8P/3O0khNE7diCFFhbxOmt\nZ7bdhALzPEUn431PdC7mlOWCsSMcQdRCruvr5aPaGjYFza1gL6DEif6UFzeD\ncXFqj8cv+2ZP8n/pUlicaSPucVjwProEvYHnAKZVYh4gfI9p1WVU+NLxahC7\nZCp+9+AZPkY3M8MwuU+EDTfZjFPZCvCP3Mtw0FMXtZwEgRwIRQIhnGHx0Cwn\nO/VrC60i2Jcm42o9zjodZqQNZ2G0thGs44ZrIQ19obfS0BsF5LPhhe64pNX1\nx37PiZPGpXXuG/awcmNjd8loyegL024F5/WqyBzWF2+YU6Z2nAr6PS4VPCXx\nVTnwKejuNrMbINnkM0UF7RSKfLypnedrA3CWZelK6DAKWsAFimATxYONsyce\nZzUXefFh0Nt+82Z6/H/GnFC8S5aDamhT4CQxzn/LaCUsACRcnvNdAcbIOWUR\n/BS9PWphJPLI3dyuAr4OlPFF8Uda3wCYLOF033qjy3dPLiAV+/2PFqp1kLrs\nFXTU8Uu7lgEI4DJZPh1viNQfboJTUBGmW0AwDrVePJpxNFKH8RiQBmv/EtmD\nGg11nu1wINns5vALBmCNAw2qAvld3puhYSbcQxMVm41PwK/GhsQ5zZAEuiR3\nQdq47YV1RgJUOGbt2DaG3trYvJXSOfhBq7NbqaqTbMxx24P15KrSRaNuCrmi\nBVTm\r\n=YMHo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJWxbeQQx200RJr2RuuRxwJWXSXcS3DPaRc05+RTH2+wIgcS6k+ANQlIFu8vJWd2N8dxtKi2ap/TQ/RSlj5K8VIt4="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.4.0-2_1607769270792_0.07299916996193168"},"_hasShrinkwrap":false},"4.4.1":{"name":"app-datepicker","version":"4.4.1","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./helpers/*":"./dist/helpers/*.js","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.20.0","lit-element":"^2.4.0","lit-html":"^1.3.0","nodemod":"^2.6.1","tslib":"^2.0.3"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^2.0.2","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"a4499f2eba246d99e7902b91ba1ed9e4f8ac0d24","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.4.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Q+woqPiLX8ui6dPFDWSm3UcXjJXcKAHy0DSSefnSBcfmC2qW9GkI8/LeV4L7YHn0iWOB98t+CYokgM3X5QDCaA==","shasum":"e17bfba7ed5ba897745639a259247f212d6623f3","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.4.1.tgz","fileCount":93,"unpackedSize":116708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1J2eCRA9TVsSAnZWagAAnhIP/3fUe5v8KKkekWfvA/k9\n8M7bHSq8G3dc/QlBLicNEwVi5dehG74rw70YRlYmeBs17+niQc5SxoEdxeV4\nRLIut6E1kw4iMwh53GsdC5OAg6OgSx7V5EyGaxjToG50N7ac+FngtBB5dWtJ\n21lDlYkDG/vqC+o5gUpQLxVezGvysAR9YqSQDSESnXDd/VP7y64ZK7nQuaoE\nVDReZ/DjR88GOQX8buW4yl8eahPXQHsW6c5nEGc2VkCMtn2mBQ771uyPPemx\nLs79L0XQlnARAr87vplBt/uIQfpLwtcZs5Ch/tW9b/qtY5uspJyPJqf6Xfzd\nX0IInbmfHKhe0KTDI8+QFHMkR61IIBJtEo1Z+TyRmyVQHF2WPNA5+9nIL51r\noHm2wBHIwMO5Iy6EtI3xcln7oYQW49WTRQRzf3bOzPfLrLzILo7NoTWNdjVC\njOUx/2H9MESIX7tWPtvDe3aNaXBjtpRYWh1D04TMhJkOif4NGO1bJXkeaq1e\nzwaNUaANv7EhsoppTP5guZip+e0n0qWkgeQp7ShNMDNvO/ozJ89gSc7i3zgX\nEqfS0dHbVlAx5DNS5akIOQBDsfsk9xBGBA38FozgbyJkw4m7TfZpw8kHEder\nYOaXouUfnANwK2eMAFS1/CHJYVimyJ7Xz+ZylVgKDiFvqp6YfSN8I83xnsJj\nXc4L\r\n=CK4I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICU5LCEyMYkuEmQA9w/80MkCtdFKqqd3y1TyWhXCcBJjAiEA2Yp6nIkwl+h+iYmSJo9Ea4jzj94dss4QMaLYZn6P88I="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.4.1_1607769502330_0.3729449941180891"},"_hasShrinkwrap":false},"4.5.0":{"name":"app-datepicker","version":"4.5.0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./helpers/*":"./dist/helpers/*.js","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.20.0","lit-element":"^2.4.0","lit-html":"^1.3.0","nodemod":"^2.7.2","tslib":"^2.0.3"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^2.0.2","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"e48c1c9fc18cd04ce51cff99406fb61066841c10","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.5.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-nIv1p0WcYX7MZ8sw+/NKTgTamwTmmLV9bdYcjlkV7ATkmV8Ha2Pe2LPV5923zkpFqf88oJJwD+XpSuQcCDcroQ==","shasum":"55aaaca69a1bce4717bf7bca2f7b1769d2775dd0","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.5.0.tgz","fileCount":93,"unpackedSize":116824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAxfKCRA9TVsSAnZWagAA0ncP/2ObgKXRcFJ80/9G/X6i\nEz563yDEFSQpfvSRnGLF13WTmwUBHYw6Ys6hV3IywikEWvUYmjYEg/2ATMLf\nzDHOLf5YVW83wL4l3YB1J67sMBnwi+StW/6iNOXyRRVmmuCU+XcYlpt6bn5Q\nUX5oGLwf1x3vXhrIrAacDNuHU1crTJ85HqpJ2ErSEV5o9XzykYMu81U0xa8v\nNn30Q4EMIZDmO8hAQXX07cKapaj6ez9Dp5JmKlq+zfv7eblubGD2/r0vMUX/\nlxFLlcDXmkIHNMzKJLcwDL2m4LEt6d8OTZ3/7l5e6/PsGXEIIMf8fQpa5tR2\n4u2vUTc5afvc7p6u05LPrn5hRcBczxgAwdN4w8xjYeSBmNfDcR+G8RpZIyaO\na1AzzEAJr8faILlzmSVApl3aRPEjF3N2ndeY7Drap7adLeLLgioCs70nF3vZ\nF/M5F8Hr3s1GJO7WylN4635zPbivDXVNR8dNlV3yCPv5pes0kF8fMKJm26P6\nDkvxbCs7UTteHVKhXR33WnigM6XkpNWp57YtFmqlIoa+HSwxnVZc6iYkTd/2\nVREeGLlUFO1yrzEisxdAxx78WupgpcTSDOB5cneq3b1G/6vci7plKhshsiyF\nsyvQqUU6K8faO/KtkcGM7F2UlXpjCBhC+nV4VsiVg00EYRTjcaYj3Yv9aU1M\nXLKr\r\n=pzIF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEdSRPbgGSW3L5+Ty/IZuvENx7ATz+XnAYQ/IOxOeTAtAiBIUZvRI8jZGCbiJ/zJ1Zpz7mI8qM0RX0rLCfw/VVsB6w=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.5.0_1610815433926_0.8114281124587865"},"_hasShrinkwrap":false},"4.5.1":{"name":"app-datepicker","version":"4.5.1","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.20.0","lit-element":"^2.4.0","lit-html":"^1.3.0","nodemod":"^2.7.2","tslib":"^2.0.3"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^2.0.2","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"80846b8b2889ec1baf8670a99346240a47196b39","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.5.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-R8mnHW22x95qsvTDcQd+1jPcpGSkHexWzpjcDu2lTlenJakF3NiWRFa48PbYmv3yZ3KswJTx3aqxtf+7ICoWfw==","shasum":"8e47e92d2c364a5832e55f0f8339f09226260ffb","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.5.1.tgz","fileCount":93,"unpackedSize":116810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAxiBCRA9TVsSAnZWagAARawP/3XPKdw8xbJy3xBJCkCE\n1tdbLkZXAmQ18pnwU31+NzNv1GqlPlDgT+LfM1TtrbNH+kq21xZ2FPrNoyp+\nXorpEnMQ3BwB3qXlOCzwOrx0zdta7DBRDrMFskyB67eNAgmH159RT/Ku7Lq1\nB/+6kpnw6Mptz8k2XWgR6jnfMY5WIuiJMugRQKRAQQbLNrlTJqoZrXwafbM5\nhc+X1VSXNa5/d5hknXMZpHpGO+xuduscbl5oaWUD97H2PCY/CbMx65f4Dzdj\nzsNdmD0n2w5CGxBQqIHqiisl9OOpNVjXtfTcBJsOOTi0kJviPeeNnpbFnJzc\nX8nVfZ6JHCCFQCfVhvoGOas90oImaSk0rpBhiwL3hSeKBHe2e8r9bDswT0KY\n9CK1lmGLuoAajQquM4QS4BF/I0vru3FiUpHz1thY5wFMDOA2coe5sGfDH/2T\nq20RCy/nwlIDfi8VcEjp6DZ5xlQeW/2akoSWAW3xmpa7JpFlYawR/mphNeQd\nW22FjcuaGjNPIID0BfJyrEI6o+Tifb/ZCnsEuLWaITopnWhx4DwYa5ffxZpQ\n1WPHN5gSJVpf+RZW4zO9vLlLzdo5fd+mre4prq1vrCoT/Xm7d17sZKAD0JiX\nQnIwPb2vrB77NFsnskl6NOVIbvPdtwfMG991MaQD/RLemfdmgGJc8wNDSGK/\ni2Dz\r\n=e+Ln\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG06mgUO4CEANCPWvOZWe/jDCOCFzVPeKUsLh9MpaIR/AiEA/1R6nyGBOEiYMcQNyI+ZC3/EzGel9WV60iRci7ms8us="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.5.1_1610815617249_0.5512405347839009"},"_hasShrinkwrap":false},"5.0.0-rc.0":{"name":"app-datepicker","version":"5.0.0-rc.0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.20.0","lit":"^2.0.0-pre.2","nodemod":"^2.7.2","tslib":"^2.0.3"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^2.0.2","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"6b8f69e53336dfee12c09b30d5d255f4c8bdadc9","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit-element][lit-element-url] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-datepicker></app-datepicker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-datepicker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@5.0.0-rc.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-8ce7AqHYFbjiuouK87F0+zdDGJhkmWzgXhHl9rWQosvs4+kLZ8kNDs4Yc4+aNpJk7yc0cu8/oWomhNqzG3MPIQ==","shasum":"5c2023bf975e43579b763498a28899d97fe51129","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-5.0.0-rc.0.tgz","fileCount":93,"unpackedSize":117243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcsheCRA9TVsSAnZWagAAsQIP/jkxkMKGIC4+NjzBxr8o\nATMoNcifvJVrjqtL29c6bzcm3xNoAO2pU6qxvWosRdyBPet/Zqxga49tw15j\nRCHE0nkOMytsUoqd3liAG9sRh94GhoTx1f6OsTOH0hWJ2jY4E09exy2S1DIv\nQYv1Akx9hZiTYTOWK/UQk9XQGgFbw1OLJ/TmfNK1UlI3cPZ7dCRDta6K0on2\nVJQ+wB6i/+cpWH7W8TeUg/vOa2gyIAJn1cnt3cmqH8qRyw4tchPCvg+4sOkX\nkgzMCN4XhIQbcZyWbReCTsfGMJSlFeqsnFwoZ4RZLOQzjwfw8as95/KBN59n\nzyOXJk+61Gw7vmrZdofmfITYKu9VnLNEBZv8mk+PHg7/p5w9nFHOK6A5vRcK\ntKrF7/Q83ORX2qyN31kvcEvxD3Rvqy7Tdkc4YAYg5Kbqd9g9Pefzkl/R7tBd\nCHDR2ANvfO+buGyddrySHTXxJuo6YAvUkW3HP23JVnsZMK7+Vh0Q1dp+J9sp\nOEZvTWamk2kyvltdAkBTeb2D2YfPRZZc8y0Y/cu6FGhF6+Ihgn+EukAPlNl3\nOvYSFemGXokPI/gW2Cbct5beJToWjRBtdvvfhzLbabczNVchXxJ0a795L4RD\nKoW5JiTjehFdgZVnv8tVDztVpQ3HJ0j3+6/2V1DdlkT+jg7gqdX8kg2xq/5U\nWecJ\r\n=Pfds\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCio7qcSYxu1s195a8poQg4q5YIqrSL98/thTvcIHKgwgIgW/ou02tN/dY1NtWciyEKlCLFJus+c7tu3p8CPQdOBXM="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_5.0.0-rc.0_1618135133676_0.029085233642884623"},"_hasShrinkwrap":false},"4.5.2-rc.0":{"name":"app-datepicker","version":"4.5.2-rc.0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.21.0","lit-element":"^2.5.1","lit-html":"^1.4.1","nodemod":"^2.8.1","tslib":"^2.2.0"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^2.1.0","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"12088dd6be42114c4e8e26514488742ccd685510","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit-element][lit-element-url] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-datepicker></app-datepicker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-datepicker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.5.2-rc.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-iNmWXgkYYpKRSu7iKCqI455y+/76Nkkmy/zkGyG5o7qz/Zwz3ryJ8yB3TNk+v1X/NDlU8EOdZmTcyA6ch99dkw==","shasum":"3fd20c82da92beb45c8fa571b795b9180e1f8c65","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.5.2-rc.0.tgz","fileCount":93,"unpackedSize":116831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglk/YCRA9TVsSAnZWagAAejYP/jipJaqEG80T8h6RmMJF\nD+MdYiKUp5kn+YjQcSY7Rg3bmokWu71SndyMqz2FVZlvNqwTqIgZZ9hIfzpW\nWY2zA/OPkzMlOH4r9xlRhtoZpgdFDpcrJrCqiw37vCl+5m6aq2P2VaSORrEa\n7vm301juDKHf7EnF8GkcHGSWRDNWEwd7Bg7lDMB0GwcpIiZg6csnLZpWNl5g\noMWQxVC522CxUZSVMujR9CI6um1QzXxJ8tjV9owC1qdU4fMTL70r3zWivuyO\n56Xnpv/Y8piOhx4fVT2eIf5Idt7PlUoeWSVx+SFY4fg6AZOdX2y1EpUDLoT/\nHs5j15jcOXeDBilhryIN5TagJb53WeAxZP9RBuAdgMdEusnsPTyQ4Cs2fWo3\nYJld6to+XTqBXSmK7Ex1Z6OsZxWwvD5VJRIb1b0lEHnmk1HeY5DRKViGuHIq\nQf/Ca0Qt/wIxOD02Q2pkMxozURfzyRdNRxYlzeiEFEb+i7c0L9plWU9Lx2nf\nP+AlBhh/wdILOX18SOwG1gbfJA+jQ73ZxezXfVwn+Ngj9kCiuyyo1pA58VMe\n1zHge4ADPRYyiLNjC6XyY0frk4rUeMnQP3fsZdTJAaroYecmwz0txYyQxEgc\nA4KtW7eSvwhD1JC0tTkA/ua4y3QXCgeAN3cGaU/4iiNCEl6kF/UYtiMCY5ty\nv5i3\r\n=GNTE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDKyMp+ZaBYr6Lo/Y28wVoQk7bU75ZHnvu4n0Pb01rZxAiEAoQsnHIkCkDjFBWfYKFFIKlAGGZs5cCgWuEs1IUWj8VI="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.5.2-rc.0_1620463575720_0.8532259221922314"},"_hasShrinkwrap":false},"4.5.2":{"name":"app-datepicker","version":"4.5.2","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.21.0","lit-element":"^2.5.1","lit-html":"^1.4.1","nodemod":"^2.8.1","tslib":"^2.2.0"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.0.2","env-cmd":"^10.1.0","es-dev-server":"^2.1.0","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"cbdaa74f762388176ce98200497dd21b6281ed27","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.5.2","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-tU1napJSMFc1Ytml7Nd7RdgzIvYy5vQeQIq3pEIKohZpAI4it78SyEEVFbwYc/mMTUAH4kS+3IfUIZpGfvc5Cg==","shasum":"2ee6b2b033df602829691c5fc2d103f8d2575ced","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.5.2.tgz","fileCount":93,"unpackedSize":116826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgllFLCRA9TVsSAnZWagAAQYAP/AiGnMIM2JSx86qEWA0k\nZG1hKzi9zlp+X65jz3Vw7USCCWG0raf2134jdhJqdyHu4AZ0dik2xyYqDSJF\nXFavHYL8okCNN3puRfwhx+Ur/8etEv0Im0Ue3Oo+bnYQZMcz3tZCayDZ+GLU\nkbBbax19BawRHebe2qkU+VX3noKHcrAdWs781/xNqzqiDCAfcPIc8CttPBQy\naXdNroaT3gel2ZvPldHNiPIySuy4zPgkkugGrfenCOjKIeRfgTZwCDAAYFJb\nOdR5RzTME944T7PmG3KR4c4gvaMMoT/uTcO5qq0U3bfVVeA3dIaD+ijKmf3b\nUWn8LfUUei5Qeh9ddXeWb3nGJIgS8XC7CAgv+Lp9Z4UD1N7LANfPz+/kIgwG\nsCox0HBeYc/48OWx4OeHteM7zhjfpLkykhpbNZFImm2tBlo0Is8hJcaY2kV2\n2aw9G2PM5qEuTnrguvnDopkO2lQ7zT2rgyHBgdm73y+JnmOUYQt3sy45fJwp\ngibNsUWHNxKpEXNHdOSUkJt1LrBKsRWaAmtrQl6H3DV1RysHWPoWKG6Vqfwo\n5wy2G0EbAlEEFzLQCPDGuYjm2ibcKDXl9M9ygBTi/1KawR28ARl4vhlR+RY9\nkUtLLB/Cf2XY3oMtVQ3Bg5MSO2FmLX45UvaIaXzZIZny5t3/d7VI4F86S8XN\n7mxW\r\n=bozt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/jOkAKY8A2XR3FBT6u5S666kTGKTdiYk9D8s6in+yMAiBVwN5WQvnfa4nlqa68C7rZyXmmkaDWn7r7RKIc+b2HaA=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.5.2_1620463947200_0.2960592348352835"},"_hasShrinkwrap":false},"4.5.3":{"name":"app-datepicker","version":"4.5.3","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"0.21.0","lit-element":"2.5.1","lit-html":"1.4.1","nodemod":"2.8.4","tslib":"2.2.0"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.2.2","env-cmd":"^10.1.0","es-dev-server":"^2.1.0","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.3.2","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"a1c5a61c87e8d081c4bdc697f994c6d3fa7740ed","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.5.3","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-qweXUB0/WNrFFCim9Q0kcGGw65kwPq9gk6O3fBWMrUD7g72T9icksmmKEV5RNOrjQAZzaEDOe2u95XcFM5SbXA==","shasum":"b715b098a453cd0919b57ad62ad6edeb51742d43","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.5.3.tgz","fileCount":93,"unpackedSize":116803,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgul+qCRA9TVsSAnZWagAAOioP/07elOwH9bi+9CFGTbNd\nWfqEs/A/xn4rgYcREqbnx/g1dxJI/Lw9Uyu2vWkMfVz1zzsUTOq9Vx2IY2sL\nYFYR8FW49xVs8HYMNzqiFvtvtozam7w819Af9bU1yHRiBFPuHDIR5fSBKQuJ\nRnDou784h/9P5YY+Kjo26ehidH7p+xTSQmaF5dzxZymbjldy1fVfUfexAGFr\ndO1KD0UztEr7hbdx14Eryr8IlUxfevLgnWfJCdbS/6Ocbdrn8JJ6yV41BYEX\nVMn8Yp8/v3iGZ4fsud+aVkwYDZ+7RW1jVTNgFpU4GiapBZxcKOFnC4QQfGni\nhzmU8p94IMoDfvYJXMeaGdrus1TKScgrg433gXoAP+JiK96aXcFg2hVSbjXu\ngoIgmfH9XaeWvbJ2gNVeo6b2cWay9aolnzcA73zQI7b3JnkJd3f54T39JvzQ\n6NOOIyDcJxcjB5NqkxKORC5jNmGiHR/Kg6FS+CLPA8MxXyW/u7EHhNG0wyrA\nfJoxW4uW0UhwzS2DdpFQBsLOdldheMV1HJ/+GDCffH0H9I9fDvg6aOohYt8J\nIkYuJkeZ9dJrgmocV5axGDD/e+FbgauXVixDqV1bCaYaIObSmxBCW5iXNJzY\nyD5DNR5wHlNQFcragqXDqMO6cnuFDT14BAMofKhGNAmd2xyJvopRbHHSpzmR\nuveH\r\n=Rw5N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXncrqR6YxBEAJeZTxlIPf7K0v5eGjJRvfFa/Mj5Yt+gIhALUsfpg2QnQ+1W2JSmxWn3rvf3hjqaZJh0BUxzwRvSuY"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.5.3_1622826922865_0.025767648692121004"},"_hasShrinkwrap":false},"4.6.0-rc.0":{"name":"app-datepicker","version":"4.6.0-rc.0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.22.1","lit-element":"2.5.1","lit-html":"1.4.1","nodemod":"2.8.4","tslib":"^2.3.0"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"^4.2.2","env-cmd":"^10.1.0","es-dev-server":"^2.1.0","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.3.2","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"fda3d783f3b54f29e945b3b0ee5a0233f4e6c0fb","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit-element][lit-element-url] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-datepicker></app-datepicker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-datepicker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@4.6.0-rc.0","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"integrity":"sha512-G0hzri0VfvbXNHGW7WElmnSez2MDEOdYkVRHqQq9ShSb1mkT0uEaBdH+AWcJAt5ZQUdX6rCAuKLrselbGzK51Q==","shasum":"0c868bb275950e49847ff4f7dfa02c7d287826af","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-4.6.0-rc.0.tgz","fileCount":93,"unpackedSize":116810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDoI0CRA9TVsSAnZWagAAImwQAIDsa4JA/QFxvLH2DcZ5\nOuIEhf5+nNrRKDIhH5NCtdnjmxWyvUZd2cOcezUOmAJ3EGK8SjPMb0UIsie5\nxan47mOPE6UGsgvXYN0VJc52KnwA0vujHFAACFU1nELxz3FWhhHocIaPnEtU\nx5pqDbF5WnMsgWOEZPlRJMbxh9XG4MtpEWvfpCBbYnoFL3jrD/sPvooqdjE+\nNOs+0qlcA5zR5Zq4CV/snuhoI4N+iYJQQSUF/rrj+B2ATDxD/Q9jLR5ziwdN\nNIPrbaXZDb/f5wVPWbMdyRhL7mJdDkZwquJY2OQlJvnnxbXqGUdP/2RrI5gz\nb3G6t+R2BB8V79cEjNNZS/r+Av+6kE/uMRilGKs6RjRmALVmvD5mErK/8ixE\nkb4ykj42v/dT3jfAxKl9Yru4w9E5vqGOP+fLVQlo0wvsnt9VEZFcbSEbHjZh\nZURrCcfOHwQ3Ns9VmsKi8Vw09pZEjX8Fsx5DKR+vUR0qZw/XKIstWo/Res/k\nbAiOS3M9XUwx8XNBTrpH8BCyQ3TqacxLUd5W+ZieI1hpH8EfZA51jOYNrN3R\nQL6gDhS5irUIrqXZSjligUijjvAlRO5fIsLZujNBv5DPelOsqns+6IY9wyM5\nym2oUXp5kmHNOtKUeNZOT/c9JGd9XuayfegTPgCa+U9XFphlVyGxY50mAXmw\n3VcE\r\n=lgvO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4Q8QzJRbYpabivu4FxY/OJpAbGmGgBH8nMqA6cGzHWgIgBfy4flRjGA6ya0srZ9dt3hENWc5c5VHjLASf3XxDAAg="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_4.6.0-rc.0_1628340787971_0.8874631459659688"},"_hasShrinkwrap":false},"5.0.0-rc.1":{"name":"app-datepicker","version":"5.0.0-rc.1","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.25.3","lit":"^2.0.2","nodemod":"2.8.4","tslib":"^2.3.0"},"devDependencies":{"@reallyland/tsconfig":"^3.1.0","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"4.2.x","env-cmd":"^10.1.0","es-dev-server":"^2.1.0","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.4.4","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"9fcb02023c6703f3c43dbc8090d8262a2ac4a61f","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit-element and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit-element][lit-element-version-badge]][lit-element-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit-element][lit-element-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit-element][lit-element-url] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** FIXME: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit-element` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit-element';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-datepicker></app-datepicker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-datepicker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-element-url]: https://github.com/Polymer/lit-element?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-element-version-badge]: https://flat.badgen.net/npm/v/lit-element/latest?icon=npm&label=lit-element\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@5.0.0-rc.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-lM3VRHDHVbaYsQWbBY6a2sFPOWAn+Q7tnhCSQ7Niegvy3h0H8tRVMfpmOlQA6UXsiuuihUYVzpjuVB8Aoa0hTA==","shasum":"309434629acdf3c78d66fff0929d17f97fcb3599","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-5.0.0-rc.1.tgz","fileCount":93,"unpackedSize":116159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBLuQluXQ61+5hvvc9ZQCw1ew0PQRTedxoNAzPiscWywIhALzHMdOKuN7aQDV5OoKwhlnttaYpq4eUM0+kwKNKGMHJ"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_5.0.0-rc.1_1636640999309_0.6119664694312108"},"_hasShrinkwrap":false},"6.0.0-rc.1":{"name":"app-datepicker","version":"6.0.0-rc.1","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid-button/*":"./dist/year-grid-button/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ]; then npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","prepare":"if [ \"$CI\" != 'true' ]; then npm x -- husky install; fi","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.0.2","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^14.1.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^3.0.2","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.3.1","@typescript-eslint/parser":"^5.3.1","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.13","@web/test-runner":"^0.13.22","@web/test-runner-commands":"^0.5.12","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^5.1.1","eslint-plugin-regexp":"^1.5.0","eslint-plugin-simple-import-sort":"^7.0.0","typescript":"^4.4.4"},"engines":{"node":">= 14.x","npm":">= 6.x"},"publishConfig":{"access":"public"},"gitHead":"4907681ab85bb7677646fae7410c8f1bfd6606d5","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-datepicker></app-datepicker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-datepicker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-i2MkdqHyaF5HyJJZPanXCNdLIscyZcU8NGJL+i/jy7DZeJHRZuQh7WjvEyGv8jMHoWmZeVcGQtkMyu2YEBCw4Q==","shasum":"e977498068efeb074851407becc63595bc762a36","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.1.tgz","fileCount":168,"unpackedSize":136837,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC/AEpbsqRJUNp+GgkVL8Oro8KXg7D3s0Cf4sUh+N9HwIgGHDr5wrR93R+hRJkx+V5XG/NjUvHjwt2hU7N2cpv1Gc="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.1_1636643018481_0.2059936883788851"},"_hasShrinkwrap":false},"5.0.1":{"name":"app-datepicker","version":"5.0.1","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","check":"package-check","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","ts":"tsc","watch":"tsc --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"@material/mwc-button":"^0.25.3","lit":"^2.0.2","nodemod":"2.8.4","tslib":"^2.3.0"},"devDependencies":{"@reallyland/tsconfig":"^3.1.0","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"4.2.x","env-cmd":"^10.1.0","es-dev-server":"^2.1.0","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.4.4","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"ecd8df4202f5830091accbd204440f7bc45097c5","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@5.0.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-1BMZ8eplIJ4aNAxMqJEZBc9Y7962iIDcOgmhq3qhjuBLe1UyMallve7yUr5SfPOqF03q78h05JgO2f18pBjhDQ==","shasum":"d4a04aeea76f7872ebe839b22a030f9a2216e38f","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-5.0.1.tgz","fileCount":93,"unpackedSize":116154,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEewEf1mfduiBM8Uc5qRCyPmtPdNvqNbQws6Ar0iEsxhAiEA65TSbXjcPfr5Pyt3WFH2ubbeswifgTt61q9EgGi036w="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_5.0.1_1636985342260_0.49520525374429303"},"_hasShrinkwrap":false},"6.0.0-rc.2":{"name":"app-datepicker","version":"6.0.0-rc.2","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ]; then npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","prepare":"if [ \"$CI\" != 'true' ]; then npm x -- husky install; fi","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.0.2","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^14.1.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^3.0.2","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.3.1","@typescript-eslint/parser":"^5.3.1","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.13","@web/test-runner":"^0.13.22","@web/test-runner-commands":"^0.5.12","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^5.1.1","eslint-plugin-regexp":"^1.5.0","eslint-plugin-simple-import-sort":"^7.0.0","typescript":"^4.4.4"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"52d5b7a9618e96584cc5713306b057cf1067dd14","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-datepicker></app-datepicker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-datepicker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-Z6p3o++KN12T9MA/QmSpJgH+ci4C5iNIKo2iPmnctFDC7Jo+hz4lj31ydTbfYbIR2xJBmqkE/k78m+B0ihaM7A==","shasum":"fa8da48c0b0addc50b8825bad39b2f2aa161aea9","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.2.tgz","fileCount":156,"unpackedSize":133357,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFv8rvHqB+V3kn8D+CZbpOkDG8EGZFmp9cS+FQsSSlZAiEAzjO3bxNjzc+1zZScAp62DnMMI4BgaZuDYHwkoUntEZ8="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.2_1636985387204_0.5509186495399221"},"_hasShrinkwrap":false},"6.0.0-rc.3":{"name":"app-datepicker","version":"6.0.0-rc.3","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ]; then npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","nano-staged":"nano-staged","prepare":"if [ \"$CI\" != 'true' ]; then npm x -- husky install; fi","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.0.2","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^15.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^3.0.2","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.4.0","@typescript-eslint/parser":"^5.4.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.13","@web/test-runner":"^0.13.22","@web/test-runner-commands":"^0.5.12","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^5.1.1","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.3.1","typescript":"^4.5.2"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"2c5caefca2c82d4625c5bc45ab07827e6ba1d699","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-datepicker></app-datepicker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-datepicker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.3","_nodeVersion":"16.13.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-497Zij0p1ZcJdnzy88sQN1Xe3RiRLcVkaE+JjUns1wTr+0KSxlWIihvyHv7GJ5AzySOrIgx7fOMS2MJI3/U6xw==","shasum":"d49a6581d71abf4bd3978e2fd880c10413dbf592","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.3.tgz","fileCount":153,"unpackedSize":139227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJholdJCRA9TVsSAnZWagAA8U0P/RUfW0bDyhXGJ8iO1zrK\nlSomfo9gH0iZxf1C/uEd1y5kx9qvTf9GLr9/QSKC7lSL9kyUzNUiuJlt9Z28\nmf/NlpkFTvoRcbUvlYAeyWlD5RgCC5XgQeZAm/C+GWvRS6eNk8Eck2LFjrMe\noVtFAZUQzI+59SZ5VFCBNx4fPtlRomwEa+7HJ15WRMauK8cyXKDfGHkpfgCg\nr1NNJzzKFh2J9yW4Cmtf1oZzYpbVk+n4+4E05Mp6BhY3+f+Scs0CmRbDsyMc\nTS5uxBllOHwSw2pU7F98kpSah0j7mhbnnVBX9OTvF0PyA3NVGXn5JLT0Wbky\n1y4nY2HjkT376xPDVNVJlOUNMSNy3OnaNhqwJ1Q7IPDij9zmAVndZ/2vKJmx\n7izvCWw/wd0RrKXMcGSx9YTbALbMu72AgptPO7QHMvZLnCdZQE/tLn1RpgXd\ndZNs+TOi6hrd7Fojkv0V0xX4+pIYXwGCAv5kR3t2j521HmiWL5hSHVGmihHD\nFIjqtqnWa1Zam/TCmE0CAZh3ckJMehe8ew3O0JeC9Dka33xj1mtuujKbXRPJ\nN2L3HW24CtJtWru+jkx+yDX8PtoZuy6P3wEqMsPXdUMOxZqfrqRtgu6/c/uv\nM1OPIDZGrtCICCE9Nsg98W3biAUGyjp1AQ2a93v9mR72uQkLTG/zGq7OxYnz\noWwz\r\n=wECZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/YBmz/FsFmaeQZLhcQ+Cj68EhlnoFV33CQpLtJb1wYAiEAqB02FRPhEhX6fHGABtCS8drz/AKaqzHORH052faBcZc="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.3_1638029129165_0.9561066939962874"},"_hasShrinkwrap":false},"6.0.0-rc.4":{"name":"app-datepicker","version":"6.0.0-rc.4","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ]; then npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","nano-staged":"nano-staged","prepare":"if [ \"$CI\" != 'true' ]; then npm x -y -- simple-git-hooks; fi","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"simple-git-hooks":{"pre-commit":"npm run check && npm run nano-staged && npm run ts -- --noEmit","commit-msg":"npm run lint-commit","post-commit":"npm run clean"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.0.2","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^15.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^3.0.2","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.7.0","@typescript-eslint/parser":"^5.7.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.13","@web/test-runner":"^0.13.22","@web/test-runner-commands":"^0.5.12","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^5.2.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.4.5","simple-git-hooks":"^2.7.0","typescript":"^4.5.4"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"dd6785e08370ae27ef85db1009ac967354f5733b","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![Sauce Labs][ga-sl-badge]][ga-sl-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-datepicker></app-datepicker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nBoth `app-datepicker` and `app-datepicker-dialog` works in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-datepicker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-datepicker></app-datepicker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-datepicker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url]\n\n## Demo\n\n[Configurable demo powered by Firebase]\n\n## Older versions\n\nMeantime, feel free to check the older version out at:\n\n  1. [`2.x` branch][2-x-url] - Built with Material Design and [Polymer 2][polymer-2-url], published at Bower.\n  2. [`3.x` branch][3-x-url] - Built with Material Design and [Polymer 3][polymer-3-url], published at NPM.\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[node-version-badge]: https://flat.badgen.net/npm/node/app-datepicker\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/workflows/ci/badge.svg\n[ga-sl-badge]: https://github.com/motss/app-datepicker/workflows/Sauce%20Labs/badge.svg\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/app-datepicker\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[node-version-url]: https://nodejs.org/en/download?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3Aci\n[ga-sl-url]: https://github.com/motss/app-datepicker/actions?query=workflow%3A%22Sauce+Labs%22\n[daviddm-url]: https://david-dm.org/motss/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.4","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-vsl4LuMk141oMEFS+a6Z1PPLuRpxBq9QrWHIwCJoXsJHmvFO0Z0h7sTk9cm0UCYgY1oaIM/0c92V2qBHAZ7+Uw==","shasum":"52ea904ea9e065f60f68ef7965782f0221aebc5e","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.4.tgz","fileCount":159,"unpackedSize":143266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuKlZCRA9TVsSAnZWagAANi8P/1Z+WmP3KCfVCtmJHFS5\nSzF0vrVmteAcx37lZ3s0N0DbyUiMpzIEhlcE8KYp5vc12StjiiRxCH1450PU\nf8fgH454uePebbwBvZglq7diG9Ns1fVbD4mnZAQWNi4qcgowV/XddeI5abJb\n9CieHrBNlR6S/uaLfLKooSyl4Ggu+BpaiOUpsnSN3sR7JDRwS+tD0Wdp0z0x\n1hmjMPGCp3pBNMyzdo8nQ6oUP11XBROoKBhhViwMLjAKzaPFY93tOdQqrXiL\ncaxJNmFqVPgMGgcg/y1N0ypgmSZw3WD4WSP16vH75ZIwkZ61x20n2OkhlZB1\n0T9HBboJM3iWAWAvrDS0tKx4LxiKvtA4guVfAhgCztRkbX5Ys/Us7dcopCSC\nfHFT4Fk5IVXtoIeeRg9ktoz9Qu1OTdiLyTbREIskoxSePkdg3Lxztw4SW5KJ\nwf4ldgjrVpJo+qexOUa3FGnqEmqCBeK3BCQtgS8pWC4bAzLfp7u7/HewguQe\nLf0rLENwmRsYGjj4WeSzX8JU0mQJGjCl8A+MPBeHVNx9MzWrhJpIylGmNPfX\nzPLgNN1X7Dcbv9Mrlu1wb0ZccR+gOCDPZAbHBoZKerzEAP8FmFSfqpk2b7Kv\nMRQrz71MsNbqAEm9N+wagdGc2owTi337bK+eLRzDy4mR9n5PfvQmeRdBB46I\nkwdM\r\n=ZHdd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdjYG3NYEVCiGqKSMoGgVRTnPg6nP0l93j5SYDaqtJXwIhAJwgi+QzfGgP9o20yepVr7B7Vp5ZwbVbouOBPrpb7BnJ"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.4_1639491928885_0.550814558981982"},"_hasShrinkwrap":false},"6.0.0-rc.5":{"name":"app-datepicker","version":"6.0.0-rc.5","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ]; then npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","nano-staged":"nano-staged","prepare":"if [ \"$CI\" != 'true' ]; then npm x -y -- simple-git-hooks; fi","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"simple-git-hooks":{"pre-commit":"npm run check && npm run nano-staged && npm run ts -- --noEmit","commit-msg":"npm run lint-commit","post-commit":"npm run clean"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.1.1","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.14","@web/test-runner":"^0.13.25","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.4"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"cda94d01d4168244b29c5075da3952682a455884","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.5","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-Ggmq/alc0W12j343r1wIzJlPetVk7IUzrVXYbwiimcGS3Y39eQ0x34UX5HDxiNoBlK5S/rZSM4xokNlBmphKAQ==","shasum":"03e2fd44da101d115304e67469217ac0af64807f","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.5.tgz","fileCount":159,"unpackedSize":142646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3FaMCRA9TVsSAnZWagAAHvwP/jf97eSOiSLFSDh/DM1b\nNMisXw+r3CyEJwzqYIA6OMysra62SKg8CZ1kpmjPlAM2lKM3ECvHEbKbXj/M\ndGfaKYczp7033b5SEQvpEB8p3cH4nyUrmQfSzM030dmpcfiyv5iKcPN7tMKA\nWpvDKhPBc3P6C6cAW/2oir0Gyy2b3O2wB9vDv+V3bcYhMljgs9q+lINUbhIM\np1vdUWk15gdAqBrUCs2REuKFL3KZNiCy8JP+3vDfVhX8VJAuP4tkO0brOR/R\nZ2WH/+DSPozjpC6qxnTj9GMyRGir2EABv46h/4UO5hE7BbcY0rEmPQPMXiK/\n9j7pKrhW27aDCBjj9JVmB2GzGXhC/r4hqaOEA53kkx3VC978x50gaUZEDAXq\naEbFxzCyzmVa3UUeIc2Gdkzo9S0i9oHBROGlc/2PUFQsrQAUv4CrwTm9k+fL\nyZRh/kkK2qlBqQteOzXzDaDQp1wFcb7ePKWlDX5rUxbdhTAP0blIpXzBfbFv\nXRxoeyfQiGcrRG2AIzgAhUyftLDbNxLW7RDh9/os3UDBryTl0wbCpFnYZpDc\njU6I2ZWentQ+Qf8ELw6eUlUHhz1EIBjuTTaW7Zbwiy+QEmm3fvLtF1QMsVQR\nBIt1oABxf0SxnogKMHJyOP8Xk5BJnt5DUewpFO6gfeNueoWM//hIdU+YqAGo\nsvEE\r\n=DB/t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGpz4j6sUsbxAeQPwMv4GPk6Uw0WYofJsxxjSLRS6mhAIgUShVN5AZbM9Bh4jTJL+Y5Yaq/HoMYF0k9WfNevJfJ18="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.5_1641830027893_0.7670991225627357"},"_hasShrinkwrap":false},"6.0.0-rc.6":{"name":"app-datepicker","version":"6.0.0-rc.6","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ]; then npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","nano-staged":"nano-staged","prepare":"if [ \"$CI\" != 'true' ]; then npm x -y -- simple-git-hooks; fi","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"simple-git-hooks":{"pre-commit":"npm run check && npm run nano-staged && npm run ts -- --noEmit","commit-msg":"npm run lint-commit","post-commit":"npm run clean"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.1.1","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.14","@web/test-runner":"^0.13.25","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.4"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"ca0ea876f203918fc96282680e5754aa7639bb09","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.6","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-+wQp+KaimLdjhh/9LBeNCHp4ByPTB7F2GGtoUQrOHR5tASs8TpL01e+urzTXIVcNaLTUpV+BwbfYScuwLJbPsw==","shasum":"61949d33218a9b4b7b942198d947c4dcfd06c9fb","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.6.tgz","fileCount":159,"unpackedSize":142707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3FnVCRA9TVsSAnZWagAAtKgP/3kBUcegWYELlPLzccc3\n371Ey2Db5SEwWjm0R3mqZ77NSEnNqYNRn5zHlZD6dGafVZrlnV8LHpcfdFvx\nUYW8UJK1fLkSfpbOpGqIC86aE7Jde7UVzKCwNB9xxvO5yGd0sW0uP0Ch86Q5\nAEFvab274SV+iu9kkaL4OYtSlGfMeAjavAPFF7+xgNxMP3nuX3Cr1DWmEOr/\n5HrIpUoLtoLaIsTnzpJtTySHs7BklG7s+MbjVhEGZYdFDcTIE1FDjyONTqxi\nkXfl/uxLeKrjIOPsi6XF8FdYO7+G8BIgtBHOlds203GJ9SH1G/1uScBM0BgU\nE600twxv/8xU37oZ38mQrN+IxkSmiN645NbJ806zFdmi029FQ7cZK1xLS6yz\nWdfSUA5hXePaiZ42XnpqrIfftO/+Q19AI4FK6veG9gdzEHd/fOvjGNMoT7VV\np2QKDBh7Yc/3/DlZ4fEQWsWuhn07d3+nbEE8XDqp7YcSArWZVkF9jQrxDyZ+\n4YjHv9OMFeU+mlsSpeHPY4eg1b8UJzqXIdlqtyuKgm+t75VWhFIet61ztbL8\nOmozq+4uE2/akQCo6NjpvJYNl059ofkiSeW5c4/p3Og3UWSfXUl5KJC647hX\nQuThmntDFO/N728BukGcrLO/YSgXa9c+UKAcoxUUJBTBEso5dqJooUds3m2M\ngzKu\r\n=A9bO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ5m2w6xEwYeYbP/h9+cKbRgtwGRd0j1dhNfOTqFNZugIhALidTWwUWmqOGhcN9nl3C5Y7LXYou3nGlyK9gPXG+jxH"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.6_1641830869508_0.921150880434729"},"_hasShrinkwrap":false},"6.0.0-rc.7":{"name":"app-datepicker","version":"6.0.0-rc.7","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ]; then npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","nano-staged":"nano-staged","prepare":"if [ \"$CI\" != 'true' ]; then npm x -y -- simple-git-hooks; fi","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"simple-git-hooks":{"pre-commit":"npm run check && npm run nano-staged && npm run ts -- --noEmit","commit-msg":"npm run lint-commit","post-commit":"npm run clean"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.1.1","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.14","@web/test-runner":"^0.13.25","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.4"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"16433a1544a74b5634649b11b3697354eb1f4dda","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.7","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-zMoDLix5OGGDtCSsu3X82BmdmVQvwfPaf2NiLersKOcRefk430uAxKR1IqXqY1oL7cjvaqB0rkutSlg49D22yg==","shasum":"835b6fba3b94ff2dc3f855a893404556bdffa1c7","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.7.tgz","fileCount":186,"unpackedSize":161335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3GCBCRA9TVsSAnZWagAASkEP/iU9GkVi3BaAUu5RScE6\n2p6eCI46XJKIIkV7AxQCAhZsl0cUdC1cV7tGxDkzLUT8gkIqutW+A2BiGQqZ\neNbJYxQCq2HkQlUAgtSh0lPfgOYeSWJWL+EBaZ/3gyxy73KNXMPy5qEqY3WW\nFxocy/TNtI1Kjl7pM7WgjTkA9v2fCqn1QGGPs8Z/hNAxxlFtVGi1ExtYcVTP\nW+W3stY9AuXisz/p76Zc7oSotGLULfk58LH4V/J5GAu0xHOWA9rsi+kUo5Zm\nBmnmTpFPrc7hlMe+1c0fR6WsfvZLBm3Kfkio0CGbTGpCt62WFYrd1Vw7Btq9\n5laEZWpVhLV3+zcMUdixnmq1CV4xZfXZVzpOCAetBIw4WUvNbn4gPZBBu/zP\nzhk1USerm5KNWg4cJmpE1GcFsbYpAcJ1YjH5R6bli7b6m2tEP02/o4uWDiV8\nyvAxfj0MJmUu30k7C3DATrdHfZqN0L+MpslUvo9s88pf8KtnviB+C4EdnajR\nGgCDpJAxFEmIngr6q3MwCXEapqJGYyAZjux6yzdCFE2iv3S390O8KWJ+6Rhs\n3k75ECNgbVmDmgslvJcRQ3Z8NcppEV5H1fJN4OC4prdDRIonsN7lJouzPTDN\npiu2Ys8bS9/y3I4kN+bH1fDptYVlhuDpMNwjWObjq6q5YMjz7UFIpY60q7UQ\n2+LY\r\n=zrFv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDW0WxPBRqAzaRjP7p0kvABwUJSEqXpu/J5Cmz9f3kYeAIgSBU9DAnQT7PgcSGyE4JxFDwsLrjF+Am8l63e9K+mYgU="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.7_1641832577773_0.08419549767615653"},"_hasShrinkwrap":false},"6.0.0-rc.8":{"name":"app-datepicker","version":"6.0.0-rc.8","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ]; then npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","nano-staged":"nano-staged","prepare":"if [ \"$CI\" != 'true' ]; then npm x -y -- simple-git-hooks; fi","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"simple-git-hooks":{"pre-commit":"npm run check && npm run nano-staged && npm run ts -- --noEmit","commit-msg":"npm run lint-commit","post-commit":"npm run clean"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.1.1","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.10.0","@typescript-eslint/parser":"^5.10.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.14","@web/test-runner":"^0.13.25","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"cfe4ff7544faccd99a3f73c5a5f1920169f3e09f","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.8","_nodeVersion":"16.13.2","_npmVersion":"8.3.2","dist":{"integrity":"sha512-Au++6U+LiagGrPzNCUEw7Yz4ZP8SS4BeNWqfnQBd7+DJIX+a7bC0cUfOX++0R8+YpAeAUu+2BJPH5oPegKSVag==","shasum":"45c4b59b3f16a53498093b3bee779c5750dd76bf","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.8.tgz","fileCount":186,"unpackedSize":160499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh69VmCRA9TVsSAnZWagAAhoAP/A9tJz+D//a5MAO1106z\nlabDLtekWqxDX1whL1VaRm/soJYmPQczIexwOQ7JviS4hrpAT0oTkzQlHHzW\nKYm6mduDb76kd6VFR02OARETUf+NKSltoZrEFIw1tJ18CF/1RVrStJke1XGp\nzCFibley7NjBNoux1OK0uABExWfR6PHSFxF3tYkKsp1meSmHu6480Q57KJ0T\nMLE31tt7Onk8K45du1YqQR59pvmE4ApBvarHw9li8K2XxOccZPDCKUg0ndYj\nV5BpsKiNkAsmCzA4HBWnJRuL+oafFQdXoxlHb90eovidEmVCrRvq9EOf+Yix\nV2V9ZRalAE+4MMku/W+oVHRvR+8JfCf/pmdBXGaFCMnYwWfA0q4+hefzWgca\nSx92XkLNo75Q7xgyr+I0aOThpmoXA+ZsJJUuy85LzJUsaFyI+Bn4cP7Z0BKe\noYMw2INjHtBqCGC8Th+Bt4MEPbLvIxDmOhdJUABNLQS7bZUV2BlbWfILGl4R\nQgj5xTSnTPea7Ig51K8MeZe4ACn5RmKkq2nCCGb0eQva3/ymbT8hTEsFT8ra\nqyUI+v0zWLb8p6/SaTHP9aj7I5OwI+mm+csHIqplXcwD12sfdKftxZvVyw2g\nfsRsrm7ckfq6My9zcm4IK/8x33vxMwC//hcA3VsATG7R3YTrsCZqeiwQ8+Y3\nFTa1\r\n=csb9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4djrFsx8qVdcFaDcNDC0XMsB3739LviHN1Goan++NcAiEApXU6UlljMZgeovZwQqHrReT2/wzAtlffGCvbuDOG5CE="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.8_1642845542173_0.20524794780133693"},"_hasShrinkwrap":false},"6.0.0-rc.9":{"name":"app-datepicker","version":"6.0.0-rc.9","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ] && [ \"$npm_package_name\" == 'app-datepicker' ]; then npm x -y -- simple-git-hooks && npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","nano-staged":"nano-staged","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"simple-git-hooks":{"pre-commit":"npm run check && npm run nano-staged && npm run ts -- --noEmit","commit-msg":"npm run lint-commit","post-commit":"npm run clean"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.1.1","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.10.0","@typescript-eslint/parser":"^5.10.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.14","@web/test-runner":"^0.13.25","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"463ecfea6b29cff7e5d572bb0d1e1f25834a10ba","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.9","_nodeVersion":"16.13.2","_npmVersion":"8.3.2","dist":{"integrity":"sha512-w3Rk3OUWwlBr1GbSBWe900y9992jz8JXErB/NlDHScIH5lciTiSEkuUYmnuZNAin/MSp5Y7X4F8qsg1gWRHB1Q==","shasum":"ff799ea2d1c7094c1c2c7031ee5b6b70f0640559","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.9.tgz","fileCount":186,"unpackedSize":160498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh694KCRA9TVsSAnZWagAAUZUP/jlUynk2Jm0nNEfbHurj\nH/JyGjm/ppr4Lh1ELlsG0u71Qxhu/2II+Ih5cqv4Vaoz18hO5rsPodP1cq9w\nnq/NyzVkA2XWXUtc+8bY9AZrrXzoxDvrS81A99ozarKEYxltu4r+NELRaNoE\nzDnV2Xf4xYkEjdqQlhRzOAY6c+0ectSsXzZTRmYuOQgft7XW4NBvsC8vc9c9\n6JAgjyKYi1ZoV+VrsSUTfyKKmf11rjgJeGgVosUnvmyxBl+AhJAFPtd/CDyO\nA1wV25BtOmgoCbvUtBxq187fXj8uQsAzUf+LsO8XPftBTbLo7agpAG/UW5zP\nONQp+q9xN98vbzyyV6uUdLgT9TZyRYID3Gd64zH7rk711fyRwP4DIekjAlBB\n6y44PE+q1WW/Pwh5sYCMjTHyEHCwoJiu+hrdYz2ki6pSnznO6jmyOC4vS5iG\nPNGz2JE99TpTuWPmuQNGZYxgvGSZtZLLoTOqsxbCUOhHrnp9vKBzgp0TP/ah\nv114VWLG9oE/bWfGXq1l0YNW0ozQq3Bm4t3wK+TiMIr5p68wO8lBw+ttfrm7\nEImsnvqznl78Cqt3FZfoPiw6H+N8vE/cpH528qxN5Z0Oa0yP+fn1n6YBbgEf\nfZ3ALCSvF50lBw3qfDm8G7CRZTgzwj8rR3uogUYjnb2PMwC38WT9dBRRiBJN\ng8/4\r\n=PwMr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1wBMHcnBK/JRsReAWhrzP/fKmhHti3Iao/PxvHDU6UAiBHqYy9aUX+/8Z+45uJllS/Dvg9HdCvy4rJW6lgkKK8Bw=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.9_1642847754182_0.1343942649076344"},"_hasShrinkwrap":false},"6.0.0-rc.10":{"name":"app-datepicker","version":"6.0.0-rc.10","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ] && [ \"$INIT_CWD\" != *'node_modules/app-datepicker' ]; then npm x -y -- simple-git-hooks && npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","nano-staged":"nano-staged","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"simple-git-hooks":{"pre-commit":"npm run check && npm run nano-staged && npm run ts -- --noEmit","commit-msg":"npm run lint-commit","post-commit":"npm run clean"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.1.1","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.10.0","@typescript-eslint/parser":"^5.10.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.14","@web/test-runner":"^0.13.25","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"019a3a2a08e60bcef7738d0bba4e1f23adc7c6f8","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.10","_nodeVersion":"16.13.2","_npmVersion":"8.3.2","dist":{"integrity":"sha512-da47H3O7gGGiYE2njZ/hyz2vpt2les67BjREGIcjPQBcAKSSE+aWgKd+5ssz7gHtPeRyNQ6vwxG2um08EsdzwA==","shasum":"597e88183745c4bf87d16149eeb0abad2d79deb8","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.10.tgz","fileCount":186,"unpackedSize":160505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6+NdCRA9TVsSAnZWagAAVYIP/0ffugGrcxAO253uNU1Y\ndtV0gS4slQV4F4M8abyWBWk4bW/d3DQAOZpJE7DjEyKI91vwIgrBzeQfA8C5\nFjhk5ar3jRhXX6xpVKJfloH5IPbpS6KqxBZGCYqUROC0kWS/FO9Rf0UU+9le\noZePbQ2v2cLhkjU+lsmg28lPecKBEjSkqKTokduu9NMx47CO8Wm3iDdLUbbn\nZYLY/ehYXUiELKALJictPxwtfofZgPk2bD/XlWs5XejCY+r525AsNIkeuVD8\nvlb+tvZRDB0nkfEnJ+cY2r3HTmplMOubRNFl5yhJksK8gQ0OrPO6vFO98dSw\n8pxLN78cYisx74vXEAVsy9M1FSOUGp+YPvEo/4mabaD7c+buVb5cJUIQ88wJ\nLARufrkUlOvJ1xexof5fsl4PjpcGeKtXJ4b0g7SVCCJNT8yu7lkZtUeL5Wsp\n6SK2qpXwPWIgwq5hAvF5VQ014AJUF4rTvf43ZHpj5BfsO6MndxHxsmgvtj6C\naAoClHXv7Y1aF8XX/2tb1quHLhyb8vuwUN2o9xPpsQuicmbqeOqR84e5Sh/c\nEba9JLHB1sFJJPE9qRTsN5Iy/EbXCXk8zj3mEjoInOiXm9L4DwtQb/AmYAcl\naefn2GYEtvwuSOyompoxZxNupyU3El/dOD4uOrqsYkcSqHMXRCiEcqGzdfx9\nqRhu\r\n=emky\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1ZyhaQTwaBwCiwqd78/aBvT+FGkdP/QYrmbhyqd10bgIgTVm8/lFLmmd3DZzBVIZA/VmTWkWHwGKQYKV5EtT6bYo="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.10_1642849116862_0.9634424966177944"},"_hasShrinkwrap":false},"6.0.0-rc.11":{"name":"app-datepicker","version":"6.0.0-rc.11","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ] && [[ \"$INIT_CWD\" != *'node_modules/app-datepicker' ]] && [[ \"$INIT_CWD\" == *'app-datepicker' ]]; then npm x -y -- simple-git-hooks && npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","nano-staged":"nano-staged","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"simple-git-hooks":{"pre-commit":"npm run check && npm run nano-staged && npm run ts -- --noEmit","commit-msg":"npm run lint-commit","post-commit":"npm run clean"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.1.1","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.10.0","@typescript-eslint/parser":"^5.10.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.14","@web/test-runner":"^0.13.25","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"62c6397ab60224a8c011d67d7788740ef0e5595d","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.11","_nodeVersion":"16.13.2","_npmVersion":"8.3.2","dist":{"integrity":"sha512-yn25j6GuujpVolf1QjWaTuzi5GpchhyIPn07F3zfyx7srzYcEtxW6+mnuXLIJwgvvuGo5QtJXANR3GLYbuXDxA==","shasum":"41c6922f7cd9f635fb21ce8c1e10a6e41b32cff8","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.11.tgz","fileCount":186,"unpackedSize":160551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6+bPCRA9TVsSAnZWagAAm3oQAJ4hj/yn97KCdVkkLdOd\nAefgcJUKKFPIovQwUAScC5HGB8AZ7uB33oVfUlkAXHCK8MZ9AX/55C9X83N3\nKxweIWZMZjiSLlDhehEIUH5eLOk+rL13vk3Uh8hItzDRGqTm0bS3nW476XN0\nwCVrIBfVODLNVlqLYKyecZ4/ANmGEd0iLiAW4H/TXOftnDoSDZ5JAWpKJ81h\nhZkt9rydRKIkS/fbbra9zUsd7Gej0dVg2w1M/X3hnmfpmijgZzLB7zSWIXHr\n4Q5iuTJVyrTD6qsHUPiIy2pny69Tsq0bhuyfOXEbYf1NXhWQf6PYeBp8rusv\nXToLKw3DZp2mLk/XxKvg0/OYaCgVvzW4/JvCLuYqWbVFP8v1XYFZeUnvfyKF\n3MB6PgqixAiCtIxy7cx60ryNCcymtJs8QcVOXLRRw7frhsRSJRakju5GOC9p\nZ8+p9WRfUXH+gCuV55ASHcuaZxIY11/p/CFNT2YLw2Kvd5Ss/w/tpEI+sO3V\nuTmQIO8jWzwCHsVVA4B9D4J1RKbiiSenVkyw8QVpOW7/5DxohKfPSr8M0jho\njDK5Kw+wJ77toSxUgssyc9Iw6u8VxQqAqHMJZxTl22YXtRvtkqIeNYbaCDee\ng90rHDOZTimGMNbJYiqEb96G0CHR3LdHzImDlXjKtnV2U3oDBHFWrxEGgZru\nVxy3\r\n=fhvm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHF8hRzkR2NDX5XDAtcjf8EhhXHuwjBdHnmae2/Xj6QAiEAxjNNz2lH35hajdVKbg7Qra7JPeQdlOEeC+ufNGfZd8c="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.11_1642849999018_0.09405554731921684"},"_hasShrinkwrap":false},"6.0.0-rc.12":{"name":"app-datepicker","version":"6.0.0-rc.12","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"tsc -p tsconfig.prod.json","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"if [ \"$CI\" != 'true' ] && [[ \"$INIT_CWD\" != *'node_modules/app-datepicker' ]] && [[ \"$INIT_CWD\" == *'app-datepicker' ]]; then npm x -y -- simple-git-hooks && npm dedupe; fi","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","nano-staged":"nano-staged","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:elements":"npm run wtr -- --config wtr.config.mjs","test:helpers":"TEST_HELPERS=1 npm run wtr -- --config wtr.config.mjs","ts":"tsc","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js"},"simple-git-hooks":{"pre-commit":"npm run check && npm run nano-staged && npm run ts -- --noEmit","commit-msg":"npm run lint-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.1.2","nodemod":"^3.0.0","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.10.1","@typescript-eslint/parser":"^5.10.1","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.26","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"8425a1f9b1b8525f7bc2bd12faa63635630b35ab","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Language grade: JavaScript][lgtm-badge]][lgtm-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[codebeat-badge]: https://codebeat.co/badges/3a212108-43cd-4a1f-ab2c-fe890ad734b6\n[lgtm-badge]: https://flat.badgen.net/lgtm/grade/javascript/g/motss/app-datepicker?icon=lgtm\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-app-datepicker-master-68699d41-3539-4c5f-81df-c9202be34919?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lgtm-url]: https://lgtm.com/projects/g/motss/app-datepicker/context:javascript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.12","_nodeVersion":"16.13.2","_npmVersion":"8.4.0","dist":{"integrity":"sha512-nR0tUM9GGZDS7GAoAhWjvsxBtLDfoBNsexLK9d8fanm22Puvxdk8b0SkDTvZtfbA1hf6Yn7RXkJtTkGyInFtHw==","shasum":"7057a45cbdaa0cb512829da61096f60a427a3adb","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.12.tgz","fileCount":180,"unpackedSize":160030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9qshCRA9TVsSAnZWagAA41AP/jAvx5tsoa5phie4V1su\nBOV1rWOQAdlDMIYnlx6lu/GpVtgzWDFbwGgANzARGfgrPtkj+qZ7irqQPJOf\nul9ckS1e1nyeO469nnZDl7jJbSLCTBqNPnPDgik3lzFwXK5kANs583vT5pOo\nXwsZo6MRIHJRnZsroE2/ttc/7gxFwFFYeH4vpmlM68O4oSgXscOtJ4j2apWC\nH4dzII8w0sTE4TRjuiC1vFD7yWIvD63PMEG4KRHaqONxR2QyQ5rYvhsbdAOu\njJLp1V4oOCaXgukjjoeXnrdG+VK6qeggOmB2fQuU6h+3Vomo+s77+k5UAz/q\naSm7h/9+XCXk8WesGmfKRHXI/QUcS9iqeOOpVGJg3kn974T+VEKfPfwXz4p0\no2t71sHkx5f41UbyeZxB18PE0gjze7e4oMpInLPN3hf1trnhhjsdmYbKgbJr\nmgn+JNgB+bdCnqF/ZG948hXRNP43/7IO2Ia6axRkkhiiU3CFcbPdb9mkJYQa\nCOiH22MPJhADLn55Oi0Sdosn2YbOQUilSV6Z4oXb9Ad1rIEWIGUZFDl9j3jJ\n0l69DeJ/v4Mtr/dymANHqqbowfTsghwEkXRHDXS24YbH3CdwQa37buqBEUr5\nzFC+w8CVDHbVx6eNMUCwdEHO2JizQ7JamGE5S986cPQEka/kV5WHObbUwo8s\nKAxk\r\n=/e5n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMDlljYsjMUj6pqQsiZ1FI0b4KtpMM8ugUdSduRoElIAiAK0RyG2h5RDdK48Bb/rzcDiV2UFE4WLUozL8w/O/osoQ=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.12_1643555617729_0.31662025536308347"},"_hasShrinkwrap":false},"6.0.0-rc.13":{"name":"app-datepicker","version":"6.0.0-rc.13","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint@latest --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"npm run test:helpers && npm run test:elements","test:coverage":"export COVERAGE=true && npm run test:helpers && npm run test:elements","test:elements":"npm run wtr","test:helpers":"export TEST_HELPERS=true && npm run wtr","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js --config wtr.config.mjs"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.1.2","nodemod":"^3.0.5","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@open-wc/testing":"^3.0.3","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.5.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"f77778d81aff72220915589bdcb620b5a60eea8e","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.13","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-p8v8tv5/hirJJiJ8vk68yvTP9KiBiN8JMTrLYfmjZATr78fsz++06NNn0DKCM3k1U4erfSs46/dnUQ/zI2AZGA==","shasum":"9b7fad981763fa629c1ed476a675fe16720263f1","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.13.tgz","fileCount":182,"unpackedSize":159998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/+owCRA9TVsSAnZWagAAGHgQAJYqSm/3YyqG9dAZfQjj\n24ONg6neeoA7lbj2J9nvdWq5pYRsVirnZVvTnIMZ6prv4Y7g0xQC52pnGzBe\npKYxrJ7TiHV5HAan0CLKu5aNKvT5XX8Y7GuIqpwu+LTVEHPxdp52zxXS8oSA\n1ryZQ32kZAhRIW5wSZAY5u/Vfrcm9I0MAjpPFtOPmzyt1G9/5GIKF1HcCoOJ\nRZcWLbIDFyl4/ailddvDEM8KsWAFmmZvg7RzP9JsQ1EbzNF9PTXVmvYR1VJN\nkUinw8HwBXSbeIzMXiY6g4FyTGvRcZNTt4YogmY9QNKfTlv0GKWa82DUvAA5\n7vuNbDJd0NtaQT0Xw4BfsOxoGj0uXwS8C5g0hzUSYLJWE4M42F7/4QaMt6gN\nNTQVy999IekqBbzFZIPTadV3BYuEThsI8jMahrReN95aU+Jx1hz8ANd4mALW\nMJCmzWIpVuaysMC8h8y/sovmWsW8T55RdDte+RTecfFwb1D3N9mC88tWiCxb\nfwMVuEu0n6oVzD0rbfF8aYCq/YRJHJo3+ImWAuDgqQcQu2nfQA4HUAU3zZUF\nkXzLxAfHGYcCx58sDlKjfsFQ8KawLJ5qSAmzSbY3YxbCPkE4fd12X+0LGqSF\nxPoHcuDNw9cRvIMKlyCHisTzgfFQG+VhRAjRNlSmjoAHSpui5ZYXQwKBzjHR\n5bIr\r\n=l4rO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDnIfGQ9PmJPE32bMJrVwHYeKn2ukUzUaPjj/SKovS9QIgFh/wd9c0kpvO97mh44nBJmAJWDQ8o4AnugDonqkfb3g="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.13_1644161584131_0.7956405688746448"},"_hasShrinkwrap":false},"6.0.0-rc.14":{"name":"app-datepicker","version":"6.0.0-rc.14","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","dev":"npm run serve & npm run watch","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint@latest --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js --config wtr.config.mjs"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.0","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.2.1","@open-wc/testing":"^3.0.4","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.12.0","@typescript-eslint/parser":"^5.12.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.6.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":["npm run lint:build -- --fix","git add"]},"gitHead":"21c43a153b70637067f392921a6db6b3ef17aea7","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.14","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-b8X2609lhwIGWwvYKrgJ4pF7KQJy+/TGcaiWZtGSA8NlALT/ggN2pvkzrrKBPDhbXLE4uzW27Bc0SXKqQN8KpA==","shasum":"834a192612fe8a023502ef0967ebeaf4e81a4756","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.14.tgz","fileCount":185,"unpackedSize":173552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE5XSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmprxw/+JO7yKRqoZMhVHFrKhxws73pVSdRLKH26rL30S3iSjy/ptD4k\r\nWWgIq8rn34ZwtK+GhaSgBY9auk79SXPV+kH9V0klwlzyLPHIMlIB1R4zWzOV\r\nfDwzT+GGYDgY4shKZQzjx+1rkR/UK4ooACmTUmBpxNlQ4uUVmnHYMO0RsYVf\r\nfOkitR7XqRt7IDlS3/s+cenyJEan5Yiz+OdU1HsUX7cgZfY0XkMOwRuuuXlc\r\nEM8MMXWrntDXTIb06BA1KjNK3tk97DtfNCWmZ5RlZzeFkuumXP2RDT2LspsN\r\nOssL3Lg6e4eUSmje/xCry84mb2koNbHgDEWPs+OY83xrhlG67E/V5b/yUNdK\r\nsQqAK0e94bZijYKU+vdE3WgLHzjdjlV7O94t5nCi0FT5D/xEw7QGZxrU6SZv\r\n/2Yavj6O4ZiHbNftb2FVAktJr5zt574Dj2XL/oqKPySkHjMcPuqFtQvQqKzK\r\nD9mzGtg5B5lLI2Zwh7WrxD5e/9w0kjNCTfyR1zR5j+wsBEaazQBQFitCOaT2\r\nLaN0U+PLvL84kLQSdduZ2OVeuSZizxPJgz04zJyKQmEfURM/tYVgnegD+sAL\r\n6NI4h2O2ScAGEVUHIybFgae+JuXz2fsOshZjDJgCyLsBLH+Lb27b7rmcrXSK\r\nzeXM+KnI1k3+7u2xIdPDzyeZDx0nDUwA3mk=\r\n=rntN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbtLSQrnFdsjuv6Cd6aXTRH8sjK/8PS92hU5sgadJw8gIgY2ec4ie8FWI4y0WfVuuO1BuuUfvxAkUxp+6YR+Py8EQ="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.14_1645450706062_0.037370331908668675"},"_hasShrinkwrap":false},"6.0.0-rc.15":{"name":"app-datepicker","version":"6.0.0-rc.15","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","dev":"npm run serve & npm run watch","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint@latest --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js --config wtr.config.mjs"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.0","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.2.1","@open-wc/testing":"^3.0.4","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.12.0","@typescript-eslint/parser":"^5.12.0","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.6.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":["npm run lint:build -- --fix","git add"]},"gitHead":"bfde3c5f2d757d5e2e98331c8ce45d63badce3f4","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.15","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-nE39yopaHU/rPl6wXtXGZcMTtgQr5eGJfAY/z878EWitLIzUx902/cWtzgsQ0gNbuRfoSTopm7zV/8AOhFS+VA==","shasum":"5d92bc3b44765b4da0b54298acf8fe76a57c035a","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.15.tgz","fileCount":194,"unpackedSize":175924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE53+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoeUw//eJKOUStox/TnraTZyD5NCfBToX+1LFLxSHh2lOFkPbkWG/TM\r\n9/MMcO56kHIMPs1T168S/dtbp4nnIizpeUb3PVczVr4QfEGVZPPghxiO9516\r\nEe3KBW7V+Tfnkn/AnjSW3kUz03DI6NMclUv9+ObQtNGNVw/U7M9beH/WltyB\r\n8aDUDYeKz8UO1f/msoigdMeZU3EfXaETBEHPv0cuPtKMh6e8ghOT4aLwTnHp\r\nkv++JdroVP2bUdW1oZiHjk9l+ronUnVR8zZkV9a6nOyf4gMAMHCoE6gVWaZw\r\ntEsZoxQNBXJxCpQuNg+iiapx0RFLsOMgw6jZGRSzMNGXqzbikJsGYQ2he6d3\r\neqcg/d+oAVBn0R1kjifOn6BAJlZ1n5D8S+DgEmsUu/dtbh+F9/ycY6kEUnxF\r\n6H/RXFI6nRBrxuVESxhLzO1YGsv/n8C15mz51gy2p3VP+t/URiA80AfGc3iQ\r\nZsjPLWI1QghfEMpv8aVKmIhSKMef1hA4x4LLBKdW6xsyYI8lmiYqzrYu+460\r\nzojE0lKMDVKPtzOV8z58pWCBkdaLDUtSwTdwe3wNdk4YARPedJVNZEsp1+o1\r\noeIAyt80lzprzdSCDj+FOGmBUoUFVPyOc44DDWnveYhM032VYZIQOZzfzECq\r\nC1NUae7U5zFCYPUZ/f76MQC42gx4NbGm4Uc=\r\n=GkHR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPOINe7zrvOHmH6Ue0waTYKEuZIjEUFjUgfiUFA2AM2wIgJ6pbIIY1Ur6KZhCV6N5lVE2KnHIJTIwYXtORFV29XYY="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.15_1645452798656_0.08212622268118253"},"_hasShrinkwrap":false},"6.0.0-rc.16":{"name":"app-datepicker","version":"6.0.0-rc.16","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","dev":"npm run serve & npm run watch","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint@latest --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js --config wtr.config.mjs"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.0","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.2.1","@open-wc/testing":"^3.1.1","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.12.1","@typescript-eslint/parser":"^5.12.1","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.6.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":["npm run lint:build -- --fix","git add"]},"gitHead":"6bf625b4a0ef1f6e82da59f7a5cd2618481a2b0d","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.16","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-XUKqfNXINLW6N5kxuO6dYmlFCxxCaJiXZLInIx4f02p5mEX82HjEShXAH/3vFkvU1JlYegRjMTSOwlvaFAc+0g==","shasum":"f69b70c3b8ef25d0b6917e445d1e5c41f8d9de20","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.16.tgz","fileCount":194,"unpackedSize":176064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGj/TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJJA/9Fk9ZiFavewgvdlq5HrLbXFF4kg5ugm9zwO9x89OOcQzwEvY/\r\nVDyn2GkuWEnGsDMZ3v++qASZw3RgktrYIqVoFeHm81BMEU0BG/1rFZG7fbrB\r\nWl1XYKQoINTW5YC10uGgk+h4wHkbhBONh46VShW3I8Nf9ogC2xmnixpP1Erp\r\nA/phHfkl7hi/ItNPDej/1m8Q3ApabMmnGVccPp9TBBp5l8ebeezYS3GGX5iA\r\nkpBcLysaRdbeuuwKFgxblvUMGtG97Tn9mjhH4oP5V8jpLaz2F4cE0WLuByCh\r\nZDEN4WR1+D3kpu4xHU/Atl4Ck37oONqMeuazxSL8zzF317ajtACs1JWMYJn5\r\nHwbH5pCWe9momMnOGWxTQbtnusXuIHeetFivi1Knp9yBzNXvu22N6upkSMlW\r\nbh8+zBbM0928LbDlvfrAoVEgQTrKLburfIi/KE8SGOcLM/MpfEdERlO2C5oM\r\nWoEJxWyiXdcT4uRhnupOWWy1AyVvKjg0BQf7vzypXgna945ZG7lt5wRd3mdd\r\nfDjfsopi/22uW2GVYA+SbrqtGkcZ213GQiTJJox0gLFK+a46i52s8s5r7T4e\r\nVSUD3alO8qHnG4ukgTXfzJiu1darT+xCkJeqRjnB5z2qBtG9aG7irSNNFme1\r\nORny8c/HNbVxmD2xMVymChQNRDLxt7xXAwI=\r\n=EwFM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKNx5kFDRc2769sVLG6xnriSooseiyA4yce+NSjNSZTAiBJR232u2W77tn0BSmF2M06YptBsy0Q7qRNbp2rdgqDxQ=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.16_1645887442799_0.4596383933640247"},"_hasShrinkwrap":false},"6.0.0-rc.17":{"name":"app-datepicker","version":"6.0.0-rc.17","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","dev":"npm run serve & npm run watch","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint@latest --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js --config wtr.config.mjs"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.0","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.2.1","@open-wc/testing":"^3.1.1","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.12.1","@typescript-eslint/parser":"^5.12.1","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.6.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":["npm run lint:build -- --fix","git add"]},"gitHead":"556e8ed0d086ae1df453b0f37ed13e86ac2fa740","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.17","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-5yV3OLp7jqvmflyj7YMKV8ZfPbelMniANIem2YLCw9VrCnUeXq8cJeDrY1IZPJmHhezH7K4goAFwg9fXmsn+HA==","shasum":"99e09e5b9fb4f90d529b058f4242d64fa5a6d05d","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.17.tgz","fileCount":194,"unpackedSize":176140,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGlV1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSlxAAhzTMcKyjowJv8yJYQHD5orqmVnmdrY4D07CwNuj2Ph5UXONb\r\n4znBGnui/my7R/qChgkcuGwALUwGztNFbbJz22BZldswk14O+EmyC5T2PJjw\r\nxxLqDo6UJUDiVOTi7sG2vIx8EJw39T8gHjw4UPb6YbxZT020cMRxyMMvos2+\r\nj56XmQu2ZKQgX0u0q144ke2DXegA4WQXcASaqXPOJc6qMfOpBjzzm7ghTt3H\r\nVbuaDcQb2QeNoizcygIBXCuC895/1mspIHLUsxXmwqLW3yKv4bECECTOL6MA\r\nID6a5wkc5Dd72pNnr0HIjyQDvUNWcqHLlrPRcgW9+vjCdHR7Tqn6Glt7zN3Z\r\nAxNYC5yxORSy73mPtnhqR0tZ7RPn9ymhkPDnU45LNN36s8DhzqKlSWV7gYa9\r\nYJZjjRk5q7dXthqyUOaoCJhbw1s2aFldIiZwObIWyLHCz5sWYcsTDVtAgvO8\r\n/6h6knsIWHXpEzQbCp0cbPK4/4yrF8eQCBczhDwE8YQj8kTOcU15/fz3t2AT\r\nrEWHt/FTaFrEfNuCa1hpJJ640B4VodorFLJUC6yWe+q7sCiAEImLs9jsFSWe\r\nbjFCxZtREaqOT+ICO/ozy/dnQsrn+Ybyud5VZyZa1yAGxzMjx1e8lq3IncGn\r\nToKPZYomobZAzCkYBM6JC/NUYktjd66o25Y=\r\n=Xrr+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/wJCau3mQAXF7Kf4lxG2X4PRAaoenwiKmvPpWfbgoeAiEAqCXpgWnmyAnxr/ObNHxrX5aKiwmRH9U3+1WgnOelRXE="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.17_1645892981321_0.43375602740771546"},"_hasShrinkwrap":false},"6.0.0-rc.18":{"name":"app-datepicker","version":"6.0.0-rc.18","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","dev":"npm run serve & npm run watch","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint-commit":"npm x -y -- commitlint@latest --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation node_modules/@web/test-runner/dist/bin.js --config wtr.config.mjs"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.0","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@commitlint/config-conventional":"^16.2.1","@open-wc/testing":"^3.1.1","@reallyland/tsconfig":"^4.0.1","@rollup/plugin-node-resolve":"^13.0.6","@skypack/package-check":"^0.2.2","@typescript-eslint/eslint-plugin":"^5.12.1","@typescript-eslint/parser":"^5.12.1","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","hanbi":"^1.0.1","nano-staged":"^0.6.0","typescript":"^4.5.5"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":["npm run lint:build -- --fix","git add"]},"gitHead":"aac5a3271d136fcf630ec24d0c83b3bb4bb891fb","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> A different way of `datepicker`-ing on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![app-datepicker](https://user-images.githubusercontent.com/10607759/67633824-ce170c80-f8ef-11e9-8d20-856eb0e62409.jpg)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.1\n- [OPTIONAL] [TypeScript] >= 3.8.3 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [jsdelivr (ESM)][jsdelivr-url]\n  2. [unpkg (ESM)][unpkg-url]\n\n## How to use\n\n**Polyfills**\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://unpkg.com/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n**my-app.ts**\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, customElement, html, LitElement } from 'lit';\nimport 'app-datepicker';\n\n@customElement(MyApp.is)\nexport class MyApp extends LitElement {\n  static is() { return 'my-app'; }\n\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  protected render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n**index.html**\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome, Firefox, Edge, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n| Name | OS |\n| --- | --- |\n| Chrome 79 | Windows 10 |\n| Edge 18 | Windows 10 |\n| Firefox 72 | Windows 10 |\n| Safari 13 | mac 10.13 |\n\n\n<!-- | Chrome 69 ([WRE 2019][wre-2019-url]) | Windows 10 |\n| Edge 15 | Windows 10 |\n| Edge 17 | Windows 10 |\n| Firefox 62 (w/o native Shadow DOM) | macOS Mojave (10.14) |\n| Internet Explorer 11 | Windows 10 |\n| Safari 10.1 | Mac OS 10.12 |\n| Safari 9 | Mac OS X 10.11 | -->\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n2. How can I hide the focus outline?\n\n    For a11y reason, focus outline is shown when a calendar day is being focused. However, this can be modified via [CSS Shadow Parts].\n\n    ```css\n    /**\n     * Hide focus ring.\n     * \n     * NOTE: It is recommended to come up with alternative styling for focus state\n     * instead of just hiding the focus ring.\n     */\n    app-date-picker::part(calendar-day):focus {\n      outline: none;\n    }\n    ```\n\n## API references\n\n- _TBD_\n\n<!-- - [AppDatepicker][app-datepicker-api-reference-url]\n- [AppDatepickerDialog][app-datepicker-dialog-api-reference-url] -->\n\n<!-- ## Demo\n\n[Configurable demo powered by Firebase] -->\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[2-x-url]: https://github.com/motss/app-datepicker/tree/2.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[3-x-url]: https://github.com/motss/app-datepicker/tree/3.x?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[app-datepicker-api-reference-url]: /api-references.md#appdatepicker\n[app-datepicker-dialog-api-reference-url]: /api-references.md#appdatepickerdialog\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[Configurable demo powered by Firebase]: https://motss-app.web.app/demo/app-datepicker.html\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit-url]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-design-2-url]: https://material.io/design/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-2-url]: https://polymer-library.polymer-project.org/2.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[polymer-3-url]: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[unpkg-url]: https://unpkg.com/app-datepicker@latest/?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n[wre-url]: https://developers.google.com/search/docs/guides/rendering\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[CSS Shadow Parts]: https://developer.mozilla.org/en-US/docs/Web/CSS/::part\n\n<!-- Browsers logo -->\n[ie-img-url]: https://cdn.jsdelivr.net/npm/@browser-logos/internet-explorer_9-11@1.1.3/internet-explorer_9-11_64x64.png\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map?utm_source=github.com&amp;utm_medium=referral\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement?utm_source=github.com&amp;utm_medium=referral\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n<!-- [intl-polyfill-url]: https://github.com/andyearnshaw/Intl.js -->\n<!-- [web-animations-js-polyfill-url]: https://www.npmjs.com/package/web-animations-js -->\n<!-- [polymer-3-browser-support-url]: https://polymer-library.polymer-project.org/3.0/docs/browsers -->\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.18","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-8/xiMSDgnCsiI0vnZLqqaKLCTu5nL5XzSJH7diXhnN88fZAwKddt9LSQGMNuVyookIhxJBFJ3/vuIrMxZcDwvQ==","shasum":"6ce1c47dedda75b52f2a3e4aa6400020ce83f4ca","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.18.tgz","fileCount":194,"unpackedSize":175800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGzD7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrzrQ//XyAVO95yFcFHNshpo2Ml87FIjTWkCfTLPvrtyTm5qOfodj4J\r\nc2vC0toFDgvHNR5iEXUAAprsADEapKc0u9D4IjK2njEFguFLQcbG2j2AQYFw\r\ni/tY+4rnpaAduK1EOR5IDWU5SP4tGHapFadnGt9r624TlmtP4khoT9vx+x4M\r\nMpl6MjvEnBpPy4Ay8vHGvTcWMFhAV8knqXMtjYR9uQsOMxJYsvF81nB+sPav\r\nae5ZOtwlErBwaBUG9N6b9/JUFdaH83fVmcfN0lKJbe4dUnkwb6ZzaLdQGEh7\r\nR0BcuuRwwzcTjjS0AnhptI3KupqnR+Av9hc/aNet8wV5bBdlG/zOdezxbs4t\r\nLMTkSXIAjhZuoqEMHvHxHj83sME+VsUxDjEhG6pGuyo4T0dfqUVagZFsl1EI\r\n9kIgYtIBuylZQmfaI6fuj49TbnGx6WS5Wy7tBo29u/qXtmmFH4KiBTAH9qg/\r\nzvWdcI4kWhXzDgZWzdvpHZYMrB4qnk/vKXmHX20/Viz2PT4r9+j3/yri5Glr\r\nf38Y1Q9vFi2dLPc9ObdnGeeh9MeQuDH/22S72f63RQhNy22Psln3fIFaaGfB\r\nlU/04KMPkf3co+eB3Lv53zwizSOmy1etIbmmgsnmcUlKqIz6wYPaFLwOKvgx\r\n51hfy3IWSHCQr7b4ZGgldTzKZoXklrEyGtE=\r\n=mXLn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/Re9VF5OjRGfauDLkI6Q+FsmJIDHYwW1XfmQU9idfnAiAMEZ9jt0QGYSZP/ml24jAlbTuwp4K8r6ZtB5c1n0pb9w=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.18_1645949179740_0.03316782275908081"},"_hasShrinkwrap":false},"6.0.0-rc.19":{"name":"app-datepicker","version":"6.0.0-rc.19","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","version":"sh generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.0","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.9","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"6460820e79d4d8c85dbb15a2546467617cf9d748","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- _TBD_\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.19","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-tEt6Me0tY4P/ugICLDUjayP1fa3SEKLA2hKxtS3FWqivNET080FNYEKiXNk++gio4X8y9zOlv+U4Y4T694RYuw==","shasum":"6cfc1808d1f8cf2fe6ddda86eaa3d83cae3d67aa","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.19.tgz","fileCount":192,"unpackedSize":172436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiODgeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqL2w//TeNhYSLLY/bd62LnCHwwtxiFAip1wobiEpE+3F8DEsssVuF/\r\nP6rQMmfYnaPKsrHzTLOcFCbZ1Oi2aBbluuQU6fKHPZDDDVVzwwRrfG5JPKjn\r\n1XUL2CdCGo9WW6bGoSEe0FcVMd29IzWLorztFZQHvSztP9ople1GYazfsCiv\r\nno0ZO/Zxwer7JaK40uNrlzQ+P+woNQQIaR1/i9zQxmCtSd02NvgyDDhlamAL\r\ndRc8uBJBRLc6SC5jxEJQMHQRYUVHLH88K5d8r/YpN6vqbCpKpQ20l+vre4KK\r\nWxc+eWdjKEpOWK5Y8TbrH/Lon0ECjIUkRVbYn5Zxw6EMpsme3XERhNNSLddp\r\n1N1488qpgKfPAfS+GaOmkOawX2UI1e2Dk9Fo6FJunmwYa0zof8IMEKG3FAjd\r\ngBVf3gDkSx+HUppqAbpv6FBiaYeHZhIxPSgUZztWcP8VBMq4I/lRO/qv75Pv\r\nAnaDG9p6mMbAksu3+WbmAZp0l/5SaOss1MIUwguZJus9pFt2ltZOLAyIxyd6\r\noO5+Xg9/M3HhFATpcRKeII9ssrGKL7GrmrmgZN69UWDK9jIhEdcqsHMZ5V+l\r\nZZwHZrF50rRsHBXXgVp2iryJHQTPEQAj8kmOTabNUwqtEe2eCcsIYcuT6kn2\r\nVRM5SZ5eC9wioIw3XPg32Ppg1QC1+7R8du8=\r\n=7/G1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHETd+LfdOAZYwbyT0bLR1jXtpHlKKd3vtSi4Mw7es4WAiBGYiIoV4K7QdCHDqr4lh8316B7WLdiyxq/vnq9lAzdJA=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.19_1647851550758_0.5647491539547478"},"_hasShrinkwrap":false},"6.0.0-rc.20":{"name":"app-datepicker","version":"6.0.0-rc.20","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.0","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.12","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"2fa05d2e7b158ecc53d343a38c5ac48783e8bd60","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- _TBD_\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.20","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-5+ZJvdljXA8Bqs8Y1SmFTohSactsE+qEOW3ZjKhtBvvVU0MsktYAg9K42GRreKQlgo7hsiqiih44nHWe8513Vg==","shasum":"5fdaf6e560e3b966014ee432d701fa7bf2e7a118","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.20.tgz","fileCount":192,"unpackedSize":172446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOJhCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+QBAAgDS8NbvPkOMwnlldiLDwt+6uNsj5Zx/no2D0DDOA12dqidZD\r\njLPktMNr5TsRC6avBIJcTM3TVvuuF19zMRL5BP/AA8nSC/qX7IG7RNNxBJy+\r\nG4NgEXxTDAPTUek6PInmqdDjQ98iltG6ft+WFIfNv5qbgpRxyAh3zhRKMXHZ\r\ng8YL2PUZek+Sc6SfTPu+1gepby6Y2mB8ofICwokdzku9cDrx2RGLzlD2psNH\r\nGD6lhZrqlPIROEMcXsohezq18yWT52SgH8OfUP/nwf2LIQ4WCXdJ09w+F+ST\r\nLx5Zpo30W06W7NuNF+EHFijCXEnAQMK9Ia50xjXEKiB5+zOG7RwyEt/hHmVD\r\nJWT9b02enkeKRCtRv6Utx2h7u9sUwe+ZfkIR3x2S2BtR8LqOilxlaLhLeiXb\r\nHHqqffuc/bmu8DXIdffQdR+X+ZcYvh7xi7R5Vu/BqOnOm3oPcaJi0ujxb4Ei\r\nIGL7vyjDUP2JSnoOpK3wogr9Rz3PDuDZQT3xF87yGKNx4qnOB/uE0/pS8CgW\r\n9YC5Q6R+S6noMhDNlgyDB6v5rrtlI0EXTlJk2w204B+0t6Ch+R4WaBWExKng\r\nxMTiPFQlOCquFXEd0zMlrf6YzpKbdopN+/DSxOz42EOirHtvuiBKXFiv11Hg\r\nPiopa+k7nQT695yiWXUKdJ7RhgBq2FeGH0M=\r\n=zedn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXqw2CMJ5S1arapWSw4eAt5AGRszUi/sCn6NBMyNGCXgIhAJvcz/mvZC+9geD1rpm5brlDqdya8flsvQFWjQmZiWCx"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.20_1647876161953_0.17848539940034924"},"_hasShrinkwrap":false},"6.0.0-rc.21":{"name":"app-datepicker","version":"6.0.0-rc.21","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3000 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.1","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.13","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"6b310ed87fa927d5e609e57692e6b0d323bb06b5","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- _TBD_\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.21","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-FrDAEpa1b0fZvdaP8LcjHrYs6mRLtp4EBaaNFYlDqpoSH8j9oCmQb6kyH5SN81zb+Cl+eSmh5zCRsUCXZLzbBQ==","shasum":"27ddf67b8b3b3cdf6b153ed19902569a50602f5c","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.21.tgz","fileCount":192,"unpackedSize":172536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPrXUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQew//UpZJXRloHrO7hnjam7fyQcx3EKn6F4ro9osata+WlJ/ksPaA\r\nLQ18bMaDuowEBsnAG2fPBJSyK7YL1VIvL2AzfhnTOPkPqFhkQYqufhiTc2iY\r\nW3lalLIr3nK3OuOA+0cNzDOLlqxn2JGYDD8EHMLeHvV9cZlGdSWBGKEdJRih\r\nPQzy/DXNqEFi+AVR+We+UWUDj6EetsNIUmRRwiQi9Ylo43PD/Eg9ZKMHniNE\r\nwE6Kp1TttXenXoSfJuRLNsKgqoCSo11xNQR/GkSsbipVNE+5UuP0v1zlb8oZ\r\nyVGDZz8Kpi1vlGdcc8oornk7q3gZ1VlozQLwDORpssRVFCklcVrTwVeEqj/O\r\nZ5ZyA5WLq/bxgZ12Awk89pgszXWYaKqL/18qL0Lbdt+TbY04a3HrCnEB/qMt\r\n6ltTBCB2e1N8TdX0L6jMgbGelRKWjSaqKNORzTlNFLKgkXIfVvooan3cbER5\r\nY1kFS9WpMjj4D3Cwl6bnOmKVPYCk1o7IcnS1yPZ6AlVW3fd9coL0G1EhfLfK\r\nL4IP3m+MWhN+8lCoBmsJXXEPL3xsh76iLYTtQ+QlULjV25iurGcbVyRAF99n\r\n8Sysff2ZnvkyDzUh8V3D7nCCevMPqNira0cp3t6qPN/56Hx+RQhqW2Yb4IyG\r\nJvsLbWixaAnpJfE2VZhqLo5BaDnFFHA81vs=\r\n=YcQB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICcqQuCAds52teAQc5NFc5Xe0M0uhc+yjnXcEaoKkbZ8AiEA9ltV+iVHfdSfsKLiW0rdIIIDtyuYj6jpZMgY770lI/Q="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.21_1648276948146_0.32325461784901766"},"_hasShrinkwrap":false},"6.0.0-rc.22":{"name":"app-datepicker","version":"6.0.0-rc.22","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3030 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.1","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.13","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"20462d9fc8cc6c7645d7b8be7de7326533574987","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html> \n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- _TBD_\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/latest?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker%40latest\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@latest\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/latest?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker%40latest&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@latest&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.22","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-NcHQoD/k26hRnrbD/oodb/D4qfHiUNeMBCk9x+ikAbGshwSNrFTR7eUb/3/Uq5swymtPfVF4kRCBLrv8lA36AA==","shasum":"0a9ade31b3625995685c71447871db152694a4ec","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.22.tgz","fileCount":192,"unpackedSize":172192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPu5YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoeFQ/+NEQarGWHRWPkzlxe/URzitRhTP79YZe1iJRYB3m9jLhQ4Szb\r\n3EAeVFW2/pAJuB3MRpclMMUMNQnV9W+l+CGcmbKNSvjA5NEGFMXxDeHrlZEm\r\n1b0b9md8eDz0nqqU1H9ltA/3H98EzNjf/kc20FmG5qkayu6cv6HdZjLQKeiq\r\n9iqJ3zsNigGOyiosIMI8BDuC2XiQaJ81o57yOxMKpixuQRHcAZRefQWq3wl2\r\nDt49/vznMB1b8mjnM2iCQQ6/1Kv+OhlVM0kPGuc96ntLuiq+8wWN9hZ3mcgG\r\nHUWv6l0e88cf7Nlgvy4Si1uDjeV7IEn6iRB0RI7HqZFXLjSQ5VPsMd6xqj/Y\r\nZfMvtEPUDxb9HqNNgzkl+BpD3SuhVGDrpP3ccIJNpvv5F4gqv6REKzDF+wOM\r\n2g3oboKM3IbtaFItlAY/t4TX6HtlxCofxwLga1w4paaftiVp+zDCYD5CTDcu\r\nD9i+CvMzwToFkwa/RO8dxis4BXP8kkfo40iRUHwEJOC7vBoptdj2H7AdlUDd\r\nfRyV1EAj3LFN5kUc7Ge/icJRlbPc5m6hWjGLnXIf7VmA/LrnKUDpxML0qerv\r\nuqZwT9o9tmOo6EvkD3hTH/WITJJW+nUGY3SZ5wKRWQt7tcEDrDwdDqHcMbiV\r\nSU7v5aSYKIbBYDYKjSPYsszozCcyigOGwb4=\r\n=4s1t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNdrpugecqF5I+bLKaia3Xkvm/iV2W0x7kI3ZaZ6/FSQIhAJqKbaVUfhNZCjjSeQCMsQuxE1YoVLxWJdnL/qiuZ4GG"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.22_1648291416508_0.029392769331987978"},"_hasShrinkwrap":false},"6.0.0-rc.23":{"name":"app-datepicker","version":"6.0.0-rc.23","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3030 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.1","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.13","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"d23076f7e88af7b188d313a58b1d5d416376393b","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/master/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/master/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/master/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.23","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-UMTqDXq6BVIaJ6D9wuvWmpGV/YuP8kqZop1UkjJPJ75tMY13kCvSXrP2qtz9lfXW4SJy1bJxMylGN0U/wfCiow==","shasum":"02d92f8985820f86c90a2d63dae3588b9c40cbfd","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.23.tgz","fileCount":192,"unpackedSize":172436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPz8pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7zhAAnvD4oWfImw3t/8p6Z1PSLAaxVHSKLsNRU7T/WtoT/ybDX6Ch\r\ndrKkCsFM0wDFROk56uQFyWvdEGoes82nv8IEoa8WPcUJlgF8gcCrM3GO4pJb\r\ntVJ5/mFQO6PHCWbfAjNJ/cuHGZefeCJkJjidImZMUQzZ3XPN5OtdSOIjeVkB\r\nv5k0ArvZWTUvgu5Gu5vkBfdkpj1HUmTJcAiM3VVkX53YhAbRvwo5jmz4hOtw\r\nF3ORvABP2iqQmDUvWXSjwgMRD3rcPfD2is0sKOB0lAIsWRzUZyJzp2K6WvZ4\r\nZam0YoWUCpGX7SEzWet8iCkgc/OhgIQCh8/56xU/sMuqwn54ZDADGS6NdSlf\r\nll1xGwNlUtz629neoStMFLGOXRUAHgz4yyAa630FJ6XUGLo3Zf5qkwW7SBlE\r\nqJO7Inov1ffVbIBcJpTF/9pgUSutGBGrCEXLa4UP50/dvpWep4nkx3oO3NCa\r\npd5Hib0gBGr9QzInmRv4XfYSU9xxXZ9cUpSxu7WmIQd/kfCk5cjr+Ig0z0sc\r\nwryo4JahmWMy3PlPgD83ewEU1y9O6t7TUUyp9qgC+kBIVR8oKXowCidqOH5d\r\nG81IqoXQlES1odxIiovS43UJgpzP2grcyLyKzIKo1BnhkgetVjLuKmeSwQTM\r\nI3Ooh5QZduggow/hpcGp++/fEhFvEvFrm50=\r\n=C0A8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnMVd1MLBGaMmeaxwWITRY8aFowEYlq3puij1rcRFHfAIgRwvp3RsW6M1qZfoH+5gMludcidKtWbqz3NgWRZ1uu7Y="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.23_1648312105073_0.002145065044555139"},"_hasShrinkwrap":false},"6.0.0-rc.24":{"name":"app-datepicker","version":"6.0.0-rc.24","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3030 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.1","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.13","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"18a0c7760cb90744b2a5c3f3cf5b8a58493beb8c","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/main/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/main/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/main/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.24","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-EsjwwGf42fYLJ16imlgqPYJ2CkfpRIshRSsvem+IVnRZa7kjbxb8jQsKcwLHexnuxlVL2yM1kBq2tsfNJ6U5oA==","shasum":"893616667f80de1416062986974eb5a0662b734a","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.24.tgz","fileCount":192,"unpackedSize":172430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiP0DdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpffRAAgrwts2DwU5CluWxZnwbpD8FzcdIySVs5azfiblgkYDZrixwO\r\naeo+8tXv/I+mKa+Ufia/r4KbnG2CZ+2Yrg48N4Xz8gDu67WAwM3gO+vwG6oS\r\n7uvUkNJgceFv+ude4S/K5gVLWrxT5UTUeyvoSFI+PALJHRn2Xo2L8s+Skfrz\r\ntMtCvBd79gkzS5UWY+8Kpsnbydif22JKgm2k7cB0+K/d4+vu1UCefXl8mvYV\r\nuMEiNVy/CaDX+ecybHH4ImxrzyG+XS3J4175mqrqxfD4x5UDdxd7NXjHKOF2\r\nrj9LzsHgOMCspKhT7NnU4CZa40b3c7POsh1Hb+nTIvUKcTkehSuV0ynRWm9S\r\nHAFXgtNY+ezp6zuYkfN+xKbdiSmhoaPynVRZ0D0st+dMMg004Bd8bRzTLQKI\r\nPCx33xepkFxwDmljQ+KcNa6L00yEJujprp1smvYwsT6gi5ISUgO9ELwC+K1H\r\nnegVFsVRjJGXCcPQuF3124Ja74cIQMHEW+ZJUbKODau+Dep3fWrBks4TaAA1\r\nygJDKNepBDzW6DmwQNkmXnMvvEZeGCqdJGbPpRg4YSFrzt/KnDKDsjQ1egpX\r\njNYqtBe3iyYx610UWhGOEH2TchlK6FWOlVmn3liopjiXY/W/GeCSgQ18ohxG\r\n1+/QYlmJGIzJibHnIxgoOHcNB9bHp6xNsWE=\r\n=/S2S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYqvH127xVvrVHPy7xEed+lQloQxdYT08E5ltIBASP1QIgXIavHtF7MMJrusN3Jh6+SQm6G12/SuWsNarbfDOuO3M="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.24_1648312541023_0.35907331049587743"},"_hasShrinkwrap":false},"5.0.2":{"name":"app-datepicker","version":"5.0.2","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","postinstall":"sh postinstall.sh","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","pre-commit":"package-check && npm run lint && tsc --noEmit","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit"},"dependencies":{"@material/mwc-button":"^0.25.3","lit":"^2.2.1","nodemod":"2.8.4","tslib":"^2.3.1"},"devDependencies":{"@reallyland/tsconfig":"^3.1.0","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"4.2.x","env-cmd":"^10.1.0","es-dev-server":"^2.1.0","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.4.4","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"d00dbd7fa582b12e38455d593f8189058f33ed24","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@5.0.2","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-zywqWPW2spqasMZZVvXf2jeJOYvv/TNjZahxyrlxIAC8uEn/fsNKnC8pnzUd4RQBnNw6HeK+KekRqfa6YIjzkA==","shasum":"636d6202820b4faf7f63968cfe0e09b3b6fcc0d7","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-5.0.2.tgz","fileCount":93,"unpackedSize":116549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQIPUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMag/+I54awV5KCdVnCMCOTopv4rrAlD6hzCoam719PZrpEQJSzGTa\r\nYHKUEVAOWG9zBWdtkBineh2q3/WvBmrrlSRusvD8Tzuk+U8mUdY8QeTZqOcm\r\na1O+yOB32G8UbIhWHLsudPi6TPc/IqWaKX01OZFnzgujs6/FoEvOWOs2U+yE\r\nTFignaHZW200vWpqOem3hYqHEVoK/0e8uRa9tkLuvmv/01lmVrhqraGdi/+8\r\nrl4ys/BEdmKvKKowTPygdexCAT22ejl8HlrvnUUtjXgF4c2tyMooo7ZYikoK\r\nSjVHstcCXhwTiO01gMPhmNF0nLR3Iiy/rt/QK5H4l5745tuf5GuUyS4ge/MN\r\nNciffSb6+OrW8S9wJmL2GvqkYVCeuzileS9Rg70YhnuWAgBSq7E1zRAzVdHT\r\nfEIpAH6pGFexIJ478EEQmNPdra1eNpaOqsHqRnNZ9jYWYRNiwEddto8e6aZY\r\nydP9z11CyAdOUG4IBbtJ60o55nRzl7Ql3cs3eGRii+WIaKou0XfEP8/YIDwE\r\nlJTeYznJb+5Tton0swNYFVKSyKWK8ItHasqWStUl2AuG4pmob/jtyJKh5Pbj\r\n5Cj1wMOmYefofikE1BAVhJxFe9+koiSbB6p8pUPSKY+lWCl2SZ1A8VNP+Kjx\r\n/6IuOcn7rQCyv91nQJMxN0j1VfTLGvYkPlw=\r\n=kPzm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMVwbY+VEN0zmt9Ve/9gprzLkJ/Hh3gGIKYJlDYDNiaAiEAlHZD/xOK0RX/ENuxAHy+yUYhlSz/zHmZSRFQdZVecFw="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_5.0.2_1648395220228_0.9684088647906868"},"_hasShrinkwrap":false},"5.1.0":{"name":"app-datepicker","version":"5.1.0","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","postinstall":"sh postinstall.sh","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","pre-commit":"package-check && npm run lint && tsc --noEmit","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit"},"dependencies":{"@material/mwc-button":"^0.25.3","lit":"^2.2.1","nodemod":"2.8.4","tslib":"^2.3.1"},"devDependencies":{"@reallyland/tsconfig":"^3.1.0","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"4.2.x","env-cmd":"^10.1.0","es-dev-server":"^2.1.0","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.4.4","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"d28f0dabc3d48a883e963a0ac9e673eaeb8d3c4f","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@5.1.0","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-jatz06GUQ17xb1OpXO0N491ONuXGlPIU4V12gSX77EdkFG2LMsNWZXpa8OnCvnWWJP1BNdv74dP+ya7pITeYKw==","shasum":"2434a74a088d244fbba48c042938c1681a291bec","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-5.1.0.tgz","fileCount":93,"unpackedSize":116549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQIQdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMXw/+LjHUFupvxFOyKXwy1tFVl5FlskX3b0dYyDj6i7UH/yhuTxgc\r\nem965snnGW9VQcnRsUf4R3MjPzJNjnt2nfhy9xmfBiDNpp3ryMZVI8SarYoQ\r\nRbLeTp4b1o9qkTKgizCcUvZH61oHVPVCxwyBEGGc5aljdBIj7wgDvxVbF8xL\r\niqVKEKHpNqsXHZEH7Ed6Exq5xIn0BIatvTZCUn8pdVxdDS7IMud4IsHD0t0k\r\nqsqEggEs2OuAZLqxQiwx19hzL46p14CDq71VNlu/i9zKSSBvP3uSUGwPeOFm\r\nwBrWM93lo/nFsLz9pCXnbaCe/aDDbKJ2FGO0L2C5LiMQpx0Eyym4GS8igylm\r\nzhFNlg0UfRI9PPzTGOFEMkXRNpcrImztbgUpVo53ES2EtUWFpR7izCmknEg6\r\nXAdYc6XorRf1LiGAmoHi06HXBj8QVKyxpGGpJW7TXRLvQtU2DbqP0V5h/1zS\r\n8Uy3t0nZQ4AxHkiHTCRRhGoaKULC0wS3IA5IQWgXgjcAcoOon9WckQ3XFhOx\r\neOJOp0aVv679AwtUma1Xw/RsHGhc+TrA6+5vSAV4lrifSANRqp7gK0WiSOO5\r\n2scnzRIfzWuLx93tLQMPNMZVFMZnPL56rfKO2KBiZvu2wTUokfELR/2ygEyd\r\n5KQTfNnQaiQbz41vZeSc9J9Ph4sS6rcG1C0=\r\n=e5bQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi7dSyt94JFkLZ143d+ZZ8aQuw7wruvVqWxBGNAfAcNQIhAKF7oa4zmSSl2Nv/2e0UFgiBvTWOAjUfUsKEdP5eApYH"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_5.1.0_1648395293009_0.5094283512986204"},"_hasShrinkwrap":false},"6.0.0-rc.25":{"name":"app-datepicker","version":"6.0.0-rc.25","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3030 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:helpers":"TEST_HELPERS=true npm run test","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.1","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.13","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.2.16","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"5ad10c7de573481afcaeeb8622b5370619bc73b7","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/main/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/main/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/main/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.25","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-huhccY4AwBunDE/vdtjR/CLHBb5y1gu7rISFxexNDqMcRVnR6TpkFdyyGm7itgfAR7NzEnqOVqmtuaQKajHeIw==","shasum":"1dc024bfa248181ec723e4b5cfac0d0c6a85f462","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.25.tgz","fileCount":192,"unpackedSize":172426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQxBnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr54Q/8DO+OkBpyIXb6hDy+OouNKmjdCffW5kwfRWRkR9EPc8KmHgMR\r\nHCF1H65ajwHtY7Cjxgl75ljrWL0KGfBV2SAO14YXHp93OV5eOF7JC9X/eRT+\r\nAamPREBlreosMaBr2rSe+sh9YIkHE1gGd1CBJROWi+SOBJJnqDYSLivEW1I7\r\nQO8l2lnuYvZqQrET4qysVqlxYKC4Gc8m5geacBbsHZ9GLX5dXJoQIteq/RNJ\r\nblADCAXQ4CZk5aIFUyvCPYvymKXwqQEmnpw0k6ifRcLSMF1Ynl21sTKuKDC/\r\nUD8ipwpWZ9lPw4i8msx7ZCPm5bKjjzp/RVYLxv/Vh3zgca6I9Z/RnUFU88Et\r\nQbyA6COrqjBmDT4elmpBHZkgUtlQbmN0p5iytHjY5whONZVbyRbrP82ZLAro\r\n6QAE2+R/KnnTXLahcUGEDSEyx9lZpvBOHx9wEBAnHuzHVcXi9xuhFcTYUh00\r\nk5XECwx1JB2w7kj8U8rwXIGWJ6hR5K4LFW4PQ5LVmvDJo/oUanUWfwvXtrV3\r\ns3n7dB16EYXETLJrF5DAQZOOLFxtN8A+Jk0n7JjzVd+LrsFEG361gFPBfDeK\r\nIIXC9xm/2x9LYXXIKwTMPkl/6E749EVYxNVhqjsTv0XtnCrqp03Y3IA+3oBt\r\npqHlHUJTR/INdyJi8E4kuCFYNq3X9mLV/Tc=\r\n=FHDU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2rXQ+ec6BWLyklXSwMIDhMeUTXSV/DMSKt1eHZdrzzAIhAN7RsF9avsRDiGs7HruIdcLN748D+9upsqjKAHz8nTi2"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.25_1648562279614_0.42083543459381034"},"_hasShrinkwrap":false},"6.0.0-rc.26":{"name":"app-datepicker","version":"6.0.0-rc.26","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3030 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:dev":"COVERAGE=true TEST_HELPERS=true npm t && COVERAGE=true npm t","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.1","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.13","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.3.0","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"dd3077cab9f58f1f7e23bd91377e99306fbaeb9d","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/main/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/main/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/main/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.26","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-62e4+lHjoQDegcXro0iuwG4Gf2eqTG4he1shhNJN7xo5QI+cb3n/GXOUmPKbPWnXjd9z6EHcUzVySVZ0EqKS4w==","shasum":"265517af0c2ac139a1ed1b92ec390d2ee3bf9fe4","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.26.tgz","fileCount":192,"unpackedSize":171595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFZZMtMmQqUIAl5dV4zHB7+PtYHfV/h3aha7FY3NwcFSAiEA7LQ71qquOHHmQRdWrvKcmr5KGZd+XVftf89IXzw5bUo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSAu+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqPw/8DTfoSj0UKMTP2PsngOHhxp7grm+NF4+WDPhECNJZYriYJ13E\r\nE8L8/MyLF4M6GjrVXLbVmaoRHW6suXRa51am94CFScWeHjou7N+0lCwoaOnM\r\nYYw3Afr09C/Nf+YOGV1bfI72v7yWvMjJOyFSBLbKSJfFLdaDtLew/bXdvFn+\r\nDZxiO7n+zyNRnXNV/vIgchbuD57wfipnRyXL0EWYa4HfspVMvC01Q2dyyzBq\r\nmNR3QgFdk29hf6dozwHrkl79HtuSMs09sDWKo/RoaqO+xJCXyZ90U+fjhglS\r\na7wUt7D6ao8z3qXXjJVrbFqfuv/54jNwtxVpyPzw4Gv0w4N2gBhi6KSE/Wed\r\nt9mD6ZbA14WKSoGsi07WPkxppIfxhGywBW8CKCXpdocGhXxFopsSH+ZUOVSi\r\nr2cL96651DGtgmxUhKVvXcIOVs/7QUVYyEyXohBjgmo7C1f18i3KG+7Yg24U\r\ncVu9M92z/IZI8qs4ldq9fY6mKLWjuVbwCEygMxVY03J9BVvN2K7/bxPcj9eF\r\nemOc77ZRv/2GF7L3hgQj9UTeaiuq9TBH9hP1MF4q7FWq49USdfLJzg6UVU/Y\r\nsmi/CPcm4JimdSN5Rmk4RprtA14FOPsxJKVT5ksawqyHS4rT/PPlogCVf/V5\r\ncjGSukrdR2lHB2n31RvJ5805P90DSE67ttM=\r\n=0200\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.26_1648888766367_0.3299000654476665"},"_hasShrinkwrap":false},"6.0.0-rc.27":{"name":"app-datepicker","version":"6.0.0-rc.27","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3030 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:dev":"npm run test:helpers && npm run test:el","test:el":"COVERAGE=true npm t","test:helpers":"COVERAGE=true TEST_HELPERS=true npm t","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.1","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.13","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.3.0","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"ebbbda47920dfde5771e34e4ceb532c9812ca3cb","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/main/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/main/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/main/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.27","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-qfZHEbyJZXfjJ4hwambcrZJcGuhscISN2uzsm7EpyYgKeJFJt/E5Dy9jiWx8BZfCXuP98SEAn0Uy4dugfEISLA==","shasum":"782aeafb766ab9dc5697da4a680b3af2ab484b29","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.27.tgz","fileCount":195,"unpackedSize":172242,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJWD/WbQtVDqwI+rTiontER3KD0uWnyVaAgRMp0ah+OAiAF/zglTY2mv6f5bebCxQ/PbV1sGU62ODcaS7Iq9HzV0w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSDe7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNAw//bQhNUfBB3it2SxGIjXljgUzJ6jJzc4BZHzgP3HbmbBDhF1c2\r\n0LVmrC/s2uie0ZFdsoQlJGJkPEsSzeZMh7t3QS39lpJRI+tPtLpkFZJBC+jG\r\n/c58TMJfWNiQeqral/3DRrRWWhpZXE/Uw5WantxiZiPVlWJIM2cr3dKtfbq3\r\nqUl6+WKB+L7GW71mILiMCvi9uXW2Oa6Yg+rsQOoN6mTt6oKORZn2JMqS2gNv\r\nkLtXxspjTf594v9jm8frK6gDioek/4CFoWDD8lQlNFBcvG+FNJWoiusmaPDG\r\nk4JaDXGf35CvsnFJKtVi2fbv2YoPmW79iTFaAcMGS+cAQgzOl9oGGVMVj3I0\r\nIh0yt8whjv/cEgphHOCivghk/g+k5EQhEXdqlUn+5mwxEtWC2CrKMNHX2Ntc\r\nHXlzezU7sQKLzDAUiXfaUzM5uvc3tx+tHD48NxpZdRhj4Id/vMc9J9GZTAIh\r\nd/NgjFTq9QsKRjhzQ90DRAxhOxfDBrxygAY8VLZvfI7IvwsQe9x+DpL0bOaX\r\nsvFix7q7AiMGq2HIdhvYCtdGkHErsBMSj6jgt5MmgxQZTtbpemtKn780spw5\r\nqwaPwE6MMU8zEOY0BsoGGSLheQdr5cvA51wZcJH6nmwutB9Ev/097mLOL56q\r\nzdOaT3dMwr/PHYX8WpvTlz9GjpwhA9Rjy0E=\r\n=HPx8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.27_1648900027105_0.972103550719911"},"_hasShrinkwrap":false},"6.0.0-rc.28":{"name":"app-datepicker","version":"6.0.0-rc.28","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3030 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:dev":"npm run test:helpers && npm run test:el","test:el":"COVERAGE=true npm t","test:helpers":"COVERAGE=true TEST_HELPERS=true npm t","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.1","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.13","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.3.0","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"a84c165b99c75033799ff3030131d8585585811f","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/main/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/main/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/main/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.28","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-IZfbWt5YZcxXs4VhEgTLOuewHoNVjVQhI4Avmq6F8lgeOfvFoFUFhcFMGEjbD3tc4NUyJarOoTF8lINM8FcPXA==","shasum":"90641a52657f18670cb37dec2c9afec8d7b4a543","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.28.tgz","fileCount":195,"unpackedSize":172357,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSCVeHH0OfL3drKlV3i8exSuXtwEy9GVk7Q2zepaXnQwIgVtYF6r6TiXDBxcurz4D1Gjw8Pk1vN48li1sWYID8fyQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSG5uACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQ/g/+KFkvS9Lp90NOrkEe4DxGBGhAWSQZhvQ05J0oofhETVTeAw55\r\n8wNxo984G6clQY67y7eG4LR+4r6knHVEo4L/syF0fP7PsROH+aMx32a8Eol+\r\nrLGfB8fPIv7kJuhcEDbY2WSzhTkNpCunzRaMSAjGrltI1gBGyIz5MjzqIu2p\r\np2Nm3GwITTrXU5fO9oCRw0mfVr7B6H/1uMWBpPDbmDjqQpV9CVUM89RxbHM8\r\ny+ofvz8Xfoi9RGPgJ0ij3UK8XVKGrekZp3fBUWN0P3SH1a4yARAVdxyBgLZ2\r\n2VwjTq4ysueao6vage+wBfZDJS4+glRORfcJDRW2IWAYgCsPkQKxNEO1Mjq9\r\nq9zYt0O2pumVIGShg88IBMWYFcJrW+oShchstbRzoOC4jtSIGLCxtL8BX1Vb\r\nQCouiwauxyOqrW9M7fVpcY7xftElbZKo4z3ES1MVy/XwIWepk0JmRV6XNlud\r\nfjSSG2rM5emtVVk7Dh7cE2/gI4PgCgFPu9D06hSfdIoXTGHqVigHj23GAeVt\r\nX4KQFhsFCrl5n8dA0xrRYXmX23ph2N6p3UXFW6ne5bdUAB3chgzUwcUXcO5T\r\nwGBGRwSHjMOFNDA2PXo12zPepZXoEP5VaV9qSz9IVtU1IFOyNRKknXYkjnVK\r\n1wweZNWcPdFWnNi8TvCSC0CgIF6Li0CT52U=\r\n=MeXR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.28_1648914030337_0.6361197499227358"},"_hasShrinkwrap":false},"6.0.0-rc.29":{"name":"app-datepicker","version":"6.0.0-rc.29","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3030 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:dev":"npm run test:helpers && npm run test:el","test:el":"COVERAGE=true npm t","test:helpers":"COVERAGE=true TEST_HELPERS=true npm t","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.1","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.13","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.3.0","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"884a7fc94d2bfd1c5ee47c9aedd700b23ccddaed","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/main/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/main/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/main/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.29","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-HKCMsZ7S64JqdBvHgWsT1PAkZT2mM+kQV5ddNrlQyHFtEyA1ONGhIh1wKUIa1dObHwPW5v4+NHoyLsutrGulWw==","shasum":"ec2ce06cea4829c10cbdb36eda3a663e8e0194e4","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.29.tgz","fileCount":195,"unpackedSize":172277,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC52LRVSvKGm9iivsNsbEpQ3tmcUSJebh/iNYvR+7dv/gIgIRL8i5Y2sRWGp5jDdw/YjRZDv/Wb1e1XN6YWxeUaAZ0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSTfqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqrpg/8CNlysAPkCeBAT4i9b969yOqM0l1jUYt3ThZDHuakgAL4XWC1\r\nv9gyMj0EEqHTg69MYpWvdIBO+JzmSQX4pZVeQtRZCb43p3qA4fJ9X5jbeLMp\r\ndi+LA49VyHfNZwBevndgfcuj0T/V4UFjGJol89nNRMQeDT8KdqWGVb2/4sVU\r\nq18DXvBy0XV5VdKjDhuPyws3yssy01ufDIy3B6s/pef7QRWYoXEsT1m1PfYt\r\nPdq2DDcztHwFhL2hBX10pYu8y7EBCYTwNcma+xRMuMRYFtLaSGZdkBqSFmD9\r\nYnIio7Qwxqwy0LbhsJTFdBI0bMX1Y7863u8El0ZvPFsaMv0avZTZ/hNfoqVN\r\naQJsiFZ/muOps4hKH2TN3LSQmaSE2C/ej/RI5xDO/zZarfehZI+iBC3NBuEi\r\nIy/QUn4p5S4yIkzyn9hN1moys+xuR4DGGwtL5qvLr7SK0TARCXroGzo3RLUJ\r\n44W9NZXUMHh64oAaKQl5x/dSAB8jiBou3BjtChvNttcvsp9GVhtxJ5evdVep\r\nMKw3WuVFEzJ++rHuO42kwjAdFtTHj0yTd+Srqnf9lgmBJ17uFz0hE7elpBXp\r\neVsH6TgbEQl7THThY63Yyrfl4qa0nxppwroPi5KUn7G6qz0aeemOHu8+YPWv\r\nVfoLWZHQl4G6W1Qn1jf0ftxG0k7pGQg5Rv0=\r\n=7PkY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.29_1648965610731_0.19980265813693832"},"_hasShrinkwrap":false},"6.0.0-rc.30":{"name":"app-datepicker","version":"6.0.0-rc.30","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":"./dist/date-picker/app-date-picker.js","./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input-surface/*":"./dist/date-picker-input-surface/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/typings.js","scripts":{"build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","dev":"npm run serve & npm run watch","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.eslintrc.json","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/lit/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","serve":"npm x -y @web/dev-server@latest -- wds --node-resolve -dw -p 3030 -a index.html","test":"wtr --config wtr.config.mjs --update-snapshots","test:dev":"npm run test:helpers && npm run test:el","test:el":"COVERAGE=true npm t","test:helpers":"COVERAGE=true TEST_HELPERS=true npm t","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md","watch":"npm run clean && tsc --watch","wtr":"node --max-old-space-size=8192 --trace-deprecation $(npm bin)/wtr --config wtr.config.mjs"},"dependencies":{"@material/mwc-base":"^0.25.3","@material/mwc-button":"^0.25.3","@material/mwc-dialog":"^0.25.3","@material/mwc-icon-button":"^0.25.3","@material/mwc-menu":"^0.25.3","@material/mwc-textfield":"^0.25.3","lit":"^2.2.1","nodemod":"^3.0.6","tslib":"^2.3.1"},"devDependencies":{"@open-wc/testing":"^3.1.2","@reallyland/tools":"^0.0.14","@rollup/plugin-node-resolve":"^13.0.6","@web/dev-server-esbuild":"^0.3.0","@web/dev-server-rollup":"^0.3.15","@web/test-runner":"^0.13.27","@web/test-runner-commands":"^0.6.1","@web/test-runner-playwright":"^0.8.8","eslint-plugin-lit":"^1.6.1","eslint-plugin-lit-a11y":"^2.2.0","hanbi":"^1.0.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"4f659f4772a195fb0728933dd67fb5c1d5dc6a42","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/main/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/main/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/main/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.30","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-OH6HNf0nbmGUM+Wg3GXR6ea82XtjTuRaM/Vc1+pNJD4pS8TSVClRdWcs7uQJsjHImUPlM9zTKnp1pWEnD6s2lA==","shasum":"ea05e9528c69fc34e33da7c9935fcae90820828f","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.30.tgz","fileCount":195,"unpackedSize":172194,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmR6HFYOSoo+4B+vkT19Mr2CiKe6hIKJb6cyhbyUefzAIhAMhSZdN91O9Q3yLaxBPQfZWOVwzz+qzbXQJIgW9/Hcji"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSaloACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4ug//eSHU1XP+X13afpQjX6Qovi19/xsCic3kNEK9r+VmBEK4vJK7\r\nA+Jdvj1Sm0q71/GAnO0ayCwg+d8YRGiv3fjhYPyM3wB/AMDwTxfOw66aVg0x\r\nX/zF3NiUr4dPIisfpF91EMy1fkjz+UUyzLxl7toHot9my27fzHdS3OWLP16e\r\nn56P/VyxCK0pcjv2ZmOg2lOjYkXQSTgBZvVT/mrhkAESktd2vUbLE5GTLKDV\r\nAS2CJecBCk74jzUpJM+QVqMrmlAJwiicx05R5zaeQBJjVmLWsObWeuS+YoTz\r\nLfB8K9HQlQdIDQbM/LVQVzSqTdaJeHLGAeCeChdo6LeVwpaNzWm41IKUfuHO\r\nnabjbX5qfgli1U5uSOCXqICLstky0pqEwECfVBwRBvA2kCddqEBWIhiiTDNA\r\ns/3/NNoG6l0cQzEIy6QVmv6cPpSLjS5N2Q8CKVfmDseENglYBkezgebeFLyA\r\nRv4WuxnMTW/MGqujAwRSpclTz03Y09zL78l2LNpdguvD5KqLe8TY/hrsm46Y\r\nyDuDy0AlYx1hQzBY/11jDgiANNhFjK7O7DyTttPr2PigV3lg6Fe6x21EJzgh\r\nIuS7U/87uFTRqlJUjERbpN2WkQZx4BB546785kih5BRZSsEVj/RjyTc6OQXS\r\n8G38GSEvAsU2W03iG9MvLBGm2uloskOCdy4=\r\n=HQKF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.30_1648994663840_0.8244727002569832"},"_hasShrinkwrap":false},"5.1.1":{"name":"app-datepicker","version":"5.1.1","description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"exports":{".":"./dist/app-datepicker.js","./dist/*":"./dist/*","./app-datepicker":"./dist/app-datepicker.js","./app-datepicker-dialog":"./dist/app-datepicker-dialog.js","./datepicker":"./dist/datepicker.js","./datepicker-dialog":"./dist/datepicker-dialog.js","./typings":"./dist/custom_typings.d.ts"},"main":"./dist/app-datepicker.js","module":"./dist/app-datepicker.js","typings":"./dist/app-datepicker.d.ts","scripts":{"build":"tsc -p tsconfig.json","build:clean":"npm run lint && npm run clean && npm run build:test","build:config":"tsc -p tsconfig.wdio.json","build:prod":"tsc -p tsconfig.prod.json","build:test":"tsc -p tsconfig.test.json","clean":"shx rm -rf dist/ src/tests/snapshots/*.png logs/ .*cache *.log","postinstall":"sh postinstall.sh","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:dev":"tslint --config tslint.json --project tsconfig.json --format stylish","pre-commit":"package-check && npm run lint && tsc --noEmit","prepublishOnly":"npm run lint && npm run build:prod","serve":"es-dev-server --watch --port 3000 --node-resolve --dedupe","test":"npm run build:config && npm run test:dev","test:clean":"npm run build:clean && npm t","test:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.config.js","test:sl":"npm run build:config && env-cmd -f ./.env npm run test:sl:dev","test:sl:clean":"npm run build:clean && npm run test:sl","test:sl:dev":"node ./run-tests.js --config-file ./dist/tests/wdio.sl.config.js","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit"},"dependencies":{"@material/mwc-button":"^0.25.3","lit":"^2.2.1","nodemod":"2.8.4","tslib":"^2.3.1"},"devDependencies":{"@reallyland/tsconfig":"^3.1.0","@reallyland/tslint-config":"^1.1.1","@skypack/package-check":"^0.2.2","@types/mocha":"^7.0.2","@types/pretty":"^2.0.0","@types/request":"^2.48.5","@wdio/cli":"^5.23.0","@wdio/local-runner":"^5.23.0","@wdio/mocha-framework":"^5.23.0","@wdio/sauce-service":"^5.22.1","@wdio/selenium-standalone-service":"^5.16.10","@wdio/spec-reporter":"^5.23.0","axe-core":"4.2.x","env-cmd":"^10.1.0","es-dev-server":"^2.1.0","husky":"^4.3.0","pretty":"^2.0.0","pwa-helpers":"^0.9.1","reify":"^0.20.12","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.4.4","webdriverio":"^5.23.0"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"25016c142c462fbc57e22af5f44e6fd83520c5d4","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@5.1.1","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-+o3whPfHIhoK/KxkMEDQN1zhEwb/pkUKzobsGip5w7YCg0ww+1LeydiSfiw4JTMZLoUH0ZOvUGCRD03y1KP9ow==","shasum":"72bd4666d26e999f0ce0d55ed1fb4995ecacc5c9","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-5.1.1.tgz","fileCount":96,"unpackedSize":118224,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYfKkjZYesYWSsViTdxwxiVPq20cGz0TYEcfNz41x87gIgQvOBtCTyGHjRpzrxZtQQc8STG+/t8LsjC9OPr9130BY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiT9BAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrpdg/+NJBmy9R8+NwMxNqUfnLUA2Si6gwu7QGJ0ExiKmdPT5+cetj+\r\njq8sBwCn60pzfHTBewdF228RIf/hLfuf9g/gH6jIiY0HsjVVG3Rbua0loxcp\r\nwHDCSchFw3+s+jnBLpQf9fdsrk119T3+mBg1FAni5GbvOZw0R+WNGMqI/9TS\r\nqurP9NIYciz4KQYJB8ElPHal3ojh8NBxSK0fg87JREYjmPciSge8MphLJrSA\r\nSc736W/snIj8P20mv4zRCmOIfrJN35NxdyFXdRpva4REXtA3E3vxMLjCl0dA\r\n7NUCfitBvK/9/PJ6aqaKH8RO94iYrAYi9FUhjQzgT/CCKLdpswr+2VlNr2GI\r\nlYWw1dbBnpAVI9UcGDszw7NzSQvTduhcYV3cNuLyoVLHgIxjjMHiMBzK/DTU\r\nHP571UY3fzJidh9kUKLLunYm6oB/tvrJ8IMk+i9FiB1y8uQQTHe5MuMzAaUe\r\nC4dWhuOIcsL/kgsG/iQKHJqE4GzuKO06dJMphYK9MTTsTuejHj54ayT4Mv+v\r\n3IHpqjNReFTzubNmiTnoeJQByraMrxq4ORdHS+r2508bMJZ29q/Getf7M/nh\r\nyuShXiYgDgl9Vy/ymwkGI0g8k2h1To/a2X4i+sXjzBSj/UasQwyA0wGvfTkA\r\n5jk/rXD705/dT++GgEaFX15LiRMAzclOWKc=\r\n=3pQ/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_5.1.1_1649397824143_0.6541686901388817"},"_hasShrinkwrap":false},"6.0.0-rc.31":{"name":"app-datepicker","version":"6.0.0-rc.31","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"funding":"https://github.com/motss/lit-ntml?sponsor=1","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":{"types":"./dist/date-picker/app-date-picker.d.ts","import":"./dist/date-picker/app-date-picker.js","default":"./dist/date-picker/app-date-picker.js"},"./app-date-picker":{"types":"./dist/date-picker/app-date-picker.d.ts","import":"./dist/date-picker/app-date-picker.js","default":"./dist/date-picker/app-date-picker.js"},"./app-date-picker-dialog":{"types":"./dist/date-picker-dialog/app-date-picker-dialog.d.ts","import":"./dist/date-picker-dialog/app-date-picker-dialog.js","default":"./dist/date-picker-dialog/app-date-picker-dialog.js"},"./app-date-picker-input":{"types":"./dist/date-picker-input/app-date-picker-input.d.ts","import":"./dist/date-picker-input/app-date-picker-input.js","default":"./dist/date-picker-input/app-date-picker-input.js"},"./app-month-calendar":{"types":"./dist/month-calendar/app-month-calendar.d.ts","import":"./dist/month-calendar/app-month-calendar.js","default":"./dist/month-calendar/app-month-calendar.js"},"./app-year-grid":{"types":"./dist/year-grid/app-year-grid.d.ts","import":"./dist/year-grid/app-year-grid.js","default":"./dist/year-grid/app-year-grid.js"},"./date-picker":{"types":"./dist/date-picker/date-picker.d.ts","import":"./dist/date-picker/date-picker.js","default":"./dist/date-picker/date-picker.js"},"./date-picker-dialog":{"types":"./dist/date-picker-dialog/date-picker-dialog.d.ts","import":"./dist/date-picker-dialog/date-picker-dialog.js","default":"./dist/date-picker-dialog/date-picker-dialog.js"},"./date-picker-input":{"types":"./dist/date-picker-input/date-picker-input.d.ts","import":"./dist/date-picker-input/date-picker-input.js","default":"./dist/date-picker-input/date-picker-input.js"},"./month-calendar":{"types":"./dist/month-calendar/month-calendar.d.ts","import":"./dist/month-calendar/month-calendar.js","default":"./dist/month-calendar/month-calendar.js"},"./root-element":{"types":"./dist/root-element/root-element.d.ts","import":"./dist/root-element/root-element.js","default":"./dist/root-element/root-element.js"},"./year-grid":{"types":"./dist/year-grid/year-grid.d.ts","import":"./dist/year-grid/year-grid.js","default":"./dist/year-grid/year-grid.js"},"./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./helpers/*":"./helpers/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/app-date-picker.d.ts","dependencies":{"@material/mwc-base":"^0.27.0","@material/mwc-button":"^0.27.0","@material/mwc-dialog":"^0.27.0","@material/mwc-icon-button":"^0.27.0","@material/mwc-menu":"^0.27.0","@material/mwc-textfield":"^0.27.0","lit":"^2.4.1","nodemod":"^3.0.6","tslib":"^2.4.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"bee66f7d5d7ca748158715c73d36a196208bbe57","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/main/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/main/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/main/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.31","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-4mP08+JZTb7MMBTdJSuywL/9inTW0t4tHfOCxpGjfSoIsy1/9XwlSXkoowFvqIi+F1vEKaqnFiZ+yVV+VVD0gw==","shasum":"ab3266a8a4ce1dc7233cde2b8558f1697dac1ccb","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.31.tgz","fileCount":195,"unpackedSize":163779,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFcGffWPGJix0DpkueViOhWJaa88VWePtz2RtrTdN3syAiB83JNaCDU/uzGfiHsAqafH3Z3PGvndqszWf0YxczaniA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeKThACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEbA//SHYeaVwrB6kZALsn6clJDwOwrQnnIiXDMAI4dYtgAvK5htK+\r\nPvQuLiFj3Tt3suPmJSvB5/hS7Qd+eaGR3NI7InJSvWBNp+jVBGhcE9cwEt4r\r\np1HgA2rLoftjRHukV+SYmKhVvjlhybkE6XM0tyIMZri/kVbZgiAwTlGvbMiv\r\nalK2psV7FRHSA5aYd14Pvzx78rpbjaTHuTN6JdbGrzBkuZTiASWITXcg4fNJ\r\nt87cqNc3DoTNayU8sFsEeZJpnl1Kee9CZ7OMpQIQasEHtfOkPCkhZBb88OyC\r\nwYXmwx2WtJkDbOJShnX2l1hea8J6ST+K4W+2+H1vTTkB8EVjN3s3VlLZ4CEz\r\n+V1jJNRi2nCzkLRa9WKqljIt+tWtOxxGCBjUq1tLDxZdNR39jJ+UoNUbLldJ\r\na2yjb4EcK0qPmHTKz4rv7HKLr8zQbqP+EpKOY69N1wSm7+n+6eQSvZRdnuWi\r\ntX9SjqXBdY27q4FEQxsR/tVpXoB+ohOjMUr9UGjIZd5F/Z7tPGWqZXCv9dVw\r\n8DH/7arS0osE7k0wEHO0DHJn2eM1X4GmCTsF1G/lqhoPksi36re2rkzxejUq\r\nhRccyxDkbYfHFTMn2a7ANVWmjvQDOOa4RJA8/Hm8EfDtk0+5mPeTw44PLVN6\r\n5BoYHtKJQ/AfKT5eC+v8VodCxD0QxQGZO7E=\r\n=H5oR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.31_1668850913574_0.11766867192935404"},"_hasShrinkwrap":false},"6.0.0-rc.32":{"name":"app-datepicker","version":"6.0.0-rc.32","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"funding":"https://github.com/motss/lit-ntml?sponsor=1","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":{"types":"./dist/date-picker/app-date-picker.d.ts","import":"./dist/date-picker/app-date-picker.js","default":"./dist/date-picker/app-date-picker.js"},"./app-date-picker":{"types":"./dist/date-picker/app-date-picker.d.ts","import":"./dist/date-picker/app-date-picker.js","default":"./dist/date-picker/app-date-picker.js"},"./app-date-picker-dialog":{"types":"./dist/date-picker-dialog/app-date-picker-dialog.d.ts","import":"./dist/date-picker-dialog/app-date-picker-dialog.js","default":"./dist/date-picker-dialog/app-date-picker-dialog.js"},"./app-date-picker-input":{"types":"./dist/date-picker-input/app-date-picker-input.d.ts","import":"./dist/date-picker-input/app-date-picker-input.js","default":"./dist/date-picker-input/app-date-picker-input.js"},"./app-month-calendar":{"types":"./dist/month-calendar/app-month-calendar.d.ts","import":"./dist/month-calendar/app-month-calendar.js","default":"./dist/month-calendar/app-month-calendar.js"},"./app-year-grid":{"types":"./dist/year-grid/app-year-grid.d.ts","import":"./dist/year-grid/app-year-grid.js","default":"./dist/year-grid/app-year-grid.js"},"./date-picker":{"types":"./dist/date-picker/date-picker.d.ts","import":"./dist/date-picker/date-picker.js","default":"./dist/date-picker/date-picker.js"},"./date-picker-dialog":{"types":"./dist/date-picker-dialog/date-picker-dialog.d.ts","import":"./dist/date-picker-dialog/date-picker-dialog.js","default":"./dist/date-picker-dialog/date-picker-dialog.js"},"./date-picker-input":{"types":"./dist/date-picker-input/date-picker-input.d.ts","import":"./dist/date-picker-input/date-picker-input.js","default":"./dist/date-picker-input/date-picker-input.js"},"./month-calendar":{"types":"./dist/month-calendar/month-calendar.d.ts","import":"./dist/month-calendar/month-calendar.js","default":"./dist/month-calendar/month-calendar.js"},"./root-element":{"types":"./dist/root-element/root-element.d.ts","import":"./dist/root-element/root-element.js","default":"./dist/root-element/root-element.js"},"./year-grid":{"types":"./dist/year-grid/year-grid.d.ts","import":"./dist/year-grid/year-grid.js","default":"./dist/year-grid/year-grid.js"},"./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./helpers/*":"./helpers/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/app-date-picker.d.ts","dependencies":{"@material/mwc-base":"^0.27.0","@material/mwc-button":"^0.27.0","@material/mwc-dialog":"^0.27.0","@material/mwc-icon-button":"^0.27.0","@material/mwc-menu":"^0.27.0","@material/mwc-textfield":"^0.27.0","lit":"^2.4.1","nodemod":"^3.0.6","tslib":"^2.4.1"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"e04866a40f7e14b702e59e74055cdb1766640e88","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/main/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/main/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/main/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.32","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-rjbBytlAWeiN7eFFIRaU9P73JitXQvH0tdArQuFvuYZTW7nxN0k/Jr0As+FpWqyWhwrVvisJWv01r0JTXurPMQ==","shasum":"780d9305e891ad8b21de293e0db4eccc0fb11132","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.32.tgz","fileCount":195,"unpackedSize":165791,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEljh1w/CjxLQdPVd0ggcl2z8hR1UkFl6GfVB9Rp2M7/AiAoa2tXLdp9dYVXFEkgxajIxOfXRIhqkPd1v/06UEQdSw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeK6vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3JQ//Y0GiqTEm+sHG3kLGe/0OrOpQrDUxy9lL+4sSZSkNCLJYSob1\r\nF1A/SPAJYhk/kTQkJDGw13cWQh4lllpgJUBnR8Lhp23vkqdu7sRrNSZ+o4hc\r\nJGNUUvEK4Eapu8YukUbsXgFSYYDnlQJsRlpZKfgD59pKlRMt0PSPdtCOejOL\r\nuWLkPVTHKG/FGaUut11WlodazFDJ41VKhH3y6HkkftAdsJX5OQsPGYY9KNMK\r\nO8rPkoTDWQ81KzvvvBUlO3Z/emJDhARTpeVODiPWvoQMME/JLUTpyYOWkNkR\r\nrYRSOhMmxa/4S+mXIksNdXa0Gj/K5NbhFc7PXltNOQxP+mj4vIN81Xz0H4U6\r\n45mddssolsxEVw5OLdxqpWu8gboWnaWcRPePmMglzawxcVats5LSoLmstZyn\r\nzWgTKC+51SLYp5JtCCeGnJJE9Yuyhpb91IWR6lVHcHsDQ++BmMhZF0qijsb2\r\nU0LoYHxRKvrBX1JZ2GvU1W6Lu9lZo7ELGzw9Gv7PWqT09L/gsGMHBY4Leu2u\r\nl5fF33c4K7/fSFEnnFeVZEAzrKRMBOUpqAjwsXLUH0m8B5Z8DJk/pYuKQYcf\r\nts3hMVOK0N0nTYg3rcAoZTuTjZjI6ggLAYg1RBZlzT2Y8sm9Zn2TYQRDnTuP\r\nptyBPhSGGunFOKhtvXzXywAuVgWFsmt1T1s=\r\n=7w4o\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.32_1668853423130_0.4300249223967869"},"_hasShrinkwrap":false},"6.0.0-rc.33":{"name":"app-datepicker","version":"6.0.0-rc.33","description":"Google Material Design based date picker built with lit","keywords":["buildwithlit","cal","calendar","date-picker","date","datepicker","lit-element","lit-html","lit","picker","polymer-project","polymer","web-component","web-components"],"homepage":"https://github.com/motss/app-datepicker","repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"funding":"https://github.com/motss/lit-ntml?sponsor=1","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":{"types":"./dist/date-picker/app-date-picker.d.ts","import":"./dist/date-picker/app-date-picker.js","default":"./dist/date-picker/app-date-picker.js"},"./app-date-picker":{"types":"./dist/date-picker/app-date-picker.d.ts","import":"./dist/date-picker/app-date-picker.js","default":"./dist/date-picker/app-date-picker.js"},"./app-date-picker-dialog":{"types":"./dist/date-picker-dialog/app-date-picker-dialog.d.ts","import":"./dist/date-picker-dialog/app-date-picker-dialog.js","default":"./dist/date-picker-dialog/app-date-picker-dialog.js"},"./app-date-picker-input":{"types":"./dist/date-picker-input/app-date-picker-input.d.ts","import":"./dist/date-picker-input/app-date-picker-input.js","default":"./dist/date-picker-input/app-date-picker-input.js"},"./app-month-calendar":{"types":"./dist/month-calendar/app-month-calendar.d.ts","import":"./dist/month-calendar/app-month-calendar.js","default":"./dist/month-calendar/app-month-calendar.js"},"./app-year-grid":{"types":"./dist/year-grid/app-year-grid.d.ts","import":"./dist/year-grid/app-year-grid.js","default":"./dist/year-grid/app-year-grid.js"},"./date-picker":{"types":"./dist/date-picker/date-picker.d.ts","import":"./dist/date-picker/date-picker.js","default":"./dist/date-picker/date-picker.js"},"./date-picker-dialog":{"types":"./dist/date-picker-dialog/date-picker-dialog.d.ts","import":"./dist/date-picker-dialog/date-picker-dialog.js","default":"./dist/date-picker-dialog/date-picker-dialog.js"},"./date-picker-input":{"types":"./dist/date-picker-input/date-picker-input.d.ts","import":"./dist/date-picker-input/date-picker-input.js","default":"./dist/date-picker-input/date-picker-input.js"},"./month-calendar":{"types":"./dist/month-calendar/month-calendar.d.ts","import":"./dist/month-calendar/month-calendar.js","default":"./dist/month-calendar/month-calendar.js"},"./root-element":{"types":"./dist/root-element/root-element.d.ts","import":"./dist/root-element/root-element.js","default":"./dist/root-element/root-element.js"},"./year-grid":{"types":"./dist/year-grid/year-grid.d.ts","import":"./dist/year-grid/year-grid.js","default":"./dist/year-grid/year-grid.js"},"./date-picker-dialog/*":"./dist/date-picker-dialog/*","./date-picker-input/*":"./dist/date-picker-input/*","./date-picker/*":"./dist/date-picker/*","./dist/*":"./dist/*","./helpers/*":"./helpers/*","./month-calendar/*":"./dist/month-calendar/*","./root-element/*":"./dist/root-element/*","./year-grid/*":"./dist/year-grid/*"},"main":"./dist/date-picker/app-date-picker.js","module":"./dist/date-picker/app-date-picker.js","typings":"./dist/date-picker/app-date-picker.d.ts","dependencies":{"@material/mwc-base":"^0.27.0","@material/mwc-button":"^0.27.0","@material/mwc-dialog":"^0.27.0","@material/mwc-icon-button":"^0.27.0","@material/mwc-menu":"^0.27.0","@material/mwc-textfield":"^0.27.0","lit":"^2.7.0","nodemod":"^3.0.6","tslib":"^2.5.0"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"90fc29c40755df00d8fdbf373dc5d5c225dd4168","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">app-datepicker</h1>\n\n  <p>Datepicker element built with lit and Material Design 2021</p>\n</div>\n\n<hr />\n\n[![buymeacoffee][buymeacoffee-badge]][buymeacoffee-url]\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n[![Join Discord][join-discord-badge]][join-discord-url]\n\n[![Version][version-badge]][version-url]\n[![lit][lit-version-badge]][lit]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-ci-badge]][ga-ci-url]\n[![ci-helpers][ga-ci-helpers-badge]][ga-ci-helpers-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n> Miracle happens when marrying Material Design with date pickers on the web.\n>\n> 💯 Also, featured in [awesome-lit-html].\n\nThis marks another completion of an important milestone of `app-datepicker` with all the love from the [Web Components community][web-components-community-url] in making this element great and wonderful. As Web Components getting more and more traction and better at providing a web standard way of creating shareable components, it plays an important role in the JavaScript community as many developers depend on a plethora of development tools written in JavaScript for the web to create a better developer experience when developing a library, a component, or even a large scalable application.\n\n![date-pickers-in-different-themes](https://user-images.githubusercontent.com/10607759/158053308-b43cb0e1-f510-4f0e-9804-827a349d5fc7.png)\n\nToday, `app-datepicker` has been completely rewritten to adapt to the best of both worlds by leveraging the modern technologies the community most familiar with since year 2018.\n\nThe following are the list of tools used that makes it shine:\n\n  1. [TypeScript]\n  2. [lit]\n\n## Table of contents <!-- omit in toc -->\n\n- [Pre-requisite](#pre-requisite)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Polyfills](#polyfills)\n  - [ES Modules](#es-modules)\n    - [my-app.js](#my-appjs)\n    - [index.html](#indexhtml)\n- [Browser compatibility](#browser-compatibility)\n- [Q&A](#qa)\n- [API references](#api-references)\n- [Demo](#demo)\n- [Older versions](#older-versions)\n- [License](#license)\n\n## Pre-requisite\n\n- [ES2019] _(The element is compiled with features targeting ES2019, so it might not work properly without transpilation on older browsers.)_\n- [lit] >= 2.2.0\n- [OPTIONAL] [TypeScript] >= 4.5.5 _(TypeScript users only)_\n\n## Installation\n\n- NPM\n\n  ```sh\n  $ npm i app-datepicker@next\n  ```\n\n- Alternatively, it can be downloaded from any of the following awesome CDNs:\n\n  1. [esm.run/ jsdelivr][jsdelivr-url]\n  2. [esm.sh][esm-sh-url]\n\n## How to use\n\n### Polyfills\n\nPlease make sure you have all these features available on the browsers you are supporting. If no, please consider polyfill-ing in order to run the datepicker element.\n\n* [Array.prototype.find]\n* [Intl.DateTimeFormat]\n\nThe following snippet shows a simple script used in the demo to load polyfills via feature detection on different browsers:\n\n```html\n<script>\n  if (null == Array.prototype.find) {\n    Object.defineProperty(Array.prototype, 'find', {\n      value: function arrayFind(cb) {\n        var filtered = this.filter(cb);\n        return !filtered.length ? void 0 : filtered[0];\n      },\n    });\n  }\n\n  if (!window.Intl) {\n    var wa = document.createElement('script');\n    /** NOTE: Pin package version due to https://github.com/andyearnshaw/Intl.js/issues/256 */\n    wa.src = 'https://esm.run/intl@1.2.4/dist/Intl.complete.js';\n    wa.onload = function onLoad() { console.info('🌐 Intl polyfill loaded'); };\n    wa.onerror = console.error;\n    document.head.appendChild(wa);\n  }\n</script>\n```\n\n### ES Modules\n\n#### my-app.js\n\n```ts\n/**\n * Say you've already installed the element via NPM, simply import the package to your application.\n * Here I'm using `lit` for developing my application.\n */\nimport { css, html, LitElement } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport 'app-datepicker';\n\nconst localName = 'my-app';\n\n@customElement(localName)\nexport class MyApp extends LitElement {\n  static styles = [\n    css`\n    :host {\n      display: block;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n    `\n  ];\n\n  render() {\n    return html`<app-date-picker></app-date-picker>`;\n  }\n}\n```\n\n#### index.html\n\n```html\n<!doctype html>\n<html>\n  <!-- Using ES modules to load the app -->\n  <script type=\"module\" src=\"/my-app.js\"></script>\n  ...\n  <body>\n    <my-app>\n      <!-- <AppDatepicker> will be rendered when <MyApp> loads. -->\n    </my-app>\n  </body>\n  ...\n</html>\n```\n\n## Browser compatibility\n\nAll the elements work in last 2 versions of all evergreen browsers (Chrome/ Edge, Firefox, and Safari). Internet Explorer 11 is no longer supported in favor of the [new Microsoft Edge].\n\nTested on the following browsers:\n\n1. `Chrome/ Edge 100`\n2. `Firefox 96`\n3. `Safari 15.4`\n\nNot tested on the following browsers but it should work with all the polyfills needed:\n\n1. `Edge 18` and below\n3. `Safari 13.1` and below\n\n## Q&A\n\n1. Does it work well with [material-components-web-components]?\n\n    For [material-components-web-components] users, you can create your own custom date picker element by wrapping `app-date-picker` inside [mwc-dialog].\n\n    <!-- Feasible source code can be viewed [here][mwc-date-picker-url]. -->\n\n    ```ts\n    // Simplified code snippet\n\n    class MWCDatePicker extends LitElement {\n      render() {\n        return html`\n        <mwc-dialog>\n          <app-date-picker></app-date-picker>\n\n          <mwc-button slot=\"secondaryAction\" dialogAction=\"cancel\">cancel</mwc-button>\n          <mwc-button slot=\"primaryAction\" dialogAction=\"set\">set</mwc-button>\n        </mwc-dialog>\n        `;\n      }\n    }\n    ```\n\n## API references\n\n- [AppDatePicker]\n- [AppDatePickerDialog]\n- [AppDatePickerInput]\n\n## Demo\n\n- [`app-datepicker` demo with configurable code snippets]\n\n## Older versions\n\n- [`4-5.x`](https://github.com/motss/app-datepicker/tree/4-5.x)\n\n## License\n\n[MIT License](http://motss.mit-license.org/) © Rong Sen Ng\n\n<!-- References -->\n[`app-datepicker` demo with configurable code snippets]: https://motss.xyz/demos/app-datepicker\n[AppDatePicker]: /docs/app-date-picker.md\n[AppDatePickerDialog]: /docs/app-date-picker-dialog.md\n[AppDatePickerInput]: /docs/app-date-picker-input.md\n[Array.prototype.find]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n[awesome-lit-html]: https://github.com/web-padawan/awesome-lit-html#individual-components\n[ES2019]: https://kangax.github.io/compat-table/es2016plus/#test-Object.fromEntries\n[esm-sh-url]: https://esm.sh/app-datepicker@next?target=es2019\n[Intl.DateTimeFormat]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/app-datepicker?version=next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[lit]: https://github.com/lit/lit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[material-components-web-components]: https://github.com/material-components/material-components-web-components\n[mwc-date-picker-url]: https://motss-app.web.app/demo/app-datepicker/mwc-date-picker.js\n[mwc-dialog]: https://github.com/material-components/material-components-web-components/tree/master/packages/dialog\n[new Microsoft Edge]: https://blogs.windows.com/msedgedev/2020/01/15/upgrading-new-microsoft-edge-79-chromium\n[TypeScript]: https://github.com/Microsoft/TypeScript?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[web-components-community-url]: https://www.webcomponents.org?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[wre-2019-url]: https://www.deepcrawl.com/blog/news/what-version-of-chrome-is-google-actually-using-for-rendering\n\n<!-- MDN -->\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String?utm_source=github.com&amp;utm_medium=referral\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object?utm_source=github.com&amp;utm_medium=referral\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number?utm_source=github.com&amp;utm_medium=referral\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean?utm_source=github.com&amp;utm_medium=referral\n\n<!-- Badges -->\n[buymeacoffee-badge]: https://flat.badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label=motss\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n[join-discord-badge]: https://badgen.net/discord/members/ps8mCrvTKR?label=app-datepicker&icon=discord\n\n[version-badge]: https://flat.badgen.net/npm/v/app-datepicker/next?icon=npm\n[lit-version-badge]: https://flat.badgen.net/npm/v/lit/latest?icon=npm&label=lit\n[mit-license-badge]: https://flat.badgen.net/npm/license/app-datepicker\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/app-datepicker\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/app-datepicker?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/app-datepicker@next\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/app-datepicker@next\n\n[ga-ci-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml/badge.svg\n[ga-ci-helpers-badge]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml/badge.svg\n[codecov-badge]: https://codecov.io/gh/motss/app-datepicker/branch/main/graph/badge.svg?token=0M1yaJNDxq\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[buymeacoffee-url]: https://www.buymeacoffee.com/RLmMhgXFb\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[join-discord-url]: https://discord.gg/ps8mCrvTKR\n\n[version-url]: https://www.npmjs.com/package/app-datepicker/v/next?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[mit-license-url]: https://github.com/motss/app-datepicker/blob/main/LICENSE?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[downloads-url]: http://www.npmtrends.com/app-datepicker?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[packagephobia-url]: https://packagephobia.now.sh/result?p=app-datepicker@next&utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n[bundlephobia-url]: https://bundlephobia.com/result?p=app-datepicker@next&amp;utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n\n[ga-ci-url]: https://github.com/motss/app-datepicker/actions/workflows/ci.yml\n[ga-ci-helpers-url]: https://github.com/motss/app-datepicker/actions/workflows/ci-helpers.yml\n[codecov-url]: https://codecov.io/gh/motss/app-datepicker\n\n[coc-url]: https://github.com/motss/app-datepicker/blob/main/code-of-conduct.md?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/app-datepicker\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"_id":"app-datepicker@6.0.0-rc.33","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-4BLMMVNyGMnOgdtbqgN/0q3bJNV+HBw7Wl1bSPWBVUnhErWWhPZ45K8hPr6PrhmcJpmJOwVyENUsxBv8ERCzjQ==","shasum":"6878d4aae3d052af42bf143d5af3a1e6c69088bd","tarball":"https://registry.npmjs.org/app-datepicker/-/app-datepicker-6.0.0-rc.33.tgz","fileCount":195,"unpackedSize":165791,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaaj54iTj6BbxRtmRP5jjiUJePqeaeC9TWC3sPuKd2vwIgAqmV3SDWvJOKyOjExPj6Mq+/MuLopMZwbWqW3ZciJu8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHyTmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCKw//fuG6K4H7OL+aN/L3AheO/RVqBpWEbkAc+a8x7J0pHkHTsZfX\r\nqM0BeTXM31ivUrRuSwjOsvpABrmffpo15A2kX32iD7TVHZmTtlKwGY4TjYg5\r\nSecoXhycqFsXywH5Tn3NcGyPiAO/oKLwLNjhjLTagEUiJsb5l6w28QsGT2ts\r\n3OghclhHM0bkwE4d8UYorragz/KmzeEAt/TZO7g/GsmVOgorJLUoQTpKAIGp\r\n6VQuN6ZUE9RyCC0KFEsnfnfYZeSAGTqKo/O+pAkFCGedSvkmSKSI07HdzCCQ\r\nWMtHWNQPGv1/h8gAZPPr/R7y+V2eq0vihl7iayLchUBaC7HFygO8CAXKctQA\r\nHsQBcRaZnTe84UDKFEf/ukO+/ikHEkt8AKuW9L7RSAK8L3T0u62bviZUP/wd\r\nd0AIrELxeNriValwwZvERqC2SQTELtvUMEG6LJ5WxUg0zy/UvURiK9OMz33g\r\noEU9bnInuIO1Lk5RcoUaQsgmEin8aSZcOwqu9OHBefbTt/0oCRlYh3i6VQdl\r\nam/jCYQAUJNQedoz5dV+oLFtrjG3vcztDk7DoCsgt25PLndYzI1OClPFNlTs\r\n/qiTVkarwnYcWThabkyUMBb5ZjqU61snFDvN2YeZOA9VL2N8PI21a+8jnief\r\n5cZ5/TJnyMFrK6fuLzXozuegeTQ0VSLInqM=\r\n=jjHT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/app-datepicker_6.0.0-rc.33_1679762662708_0.408352028960999"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-04T13:09:26.811Z","3.0.0-alpha.0":"2018-12-04T13:09:27.231Z","modified":"2023-03-25T16:44:23.059Z","3.0.0":"2018-12-27T14:45:23.482Z","4.0.0-rc.0":"2019-01-12T04:59:17.011Z","4.0.0-rc.1":"2019-01-12T05:04:23.240Z","4.0.0-rc.2":"2019-01-12T05:11:14.490Z","4.0.0-rc.3":"2019-01-19T09:51:30.782Z","4.0.0-rc.4":"2019-01-19T09:54:11.086Z","4.0.0-rc.5":"2019-01-30T09:33:20.049Z","4.0.0-rc.6":"2019-02-14T15:58:24.535Z","4.0.0-rc.7":"2019-02-17T17:01:45.416Z","4.0.0-rc.8":"2019-02-18T01:49:34.045Z","4.0.0-rc.9":"2019-02-28T00:56:38.896Z","4.0.0-rc.10":"2019-03-11T13:25:53.733Z","4.0.0-rc.11":"2019-03-30T10:38:00.249Z","4.0.0-rc.12":"2019-03-30T13:48:27.852Z","4.0.0-rc.13":"2019-03-30T17:57:50.647Z","4.0.0-rc.14":"2019-04-02T15:10:48.170Z","4.0.0-rc.15":"2019-04-05T12:39:47.746Z","4.0.0-rc.16":"2019-04-06T16:22:51.540Z","4.0.0-rc.17":"2019-04-13T04:14:20.367Z","4.0.0-rc.18":"2019-04-13T04:16:48.493Z","3.1.0":"2019-04-18T12:38:57.216Z","4.0.0-rc.19":"2019-04-19T02:24:12.332Z","4.0.0-rc.20":"2019-05-01T05:52:42.176Z","4.0.0-rc.21":"2019-05-16T12:25:45.838Z","4.0.0-rc.22":"2019-05-19T05:34:25.239Z","4.0.0-rc.23":"2019-06-16T08:29:06.104Z","4.0.0-rc.24":"2019-06-18T15:35:54.635Z","4.0.0-rc.25":"2019-07-09T14:21:50.358Z","4.0.0-rc.26":"2019-07-10T13:48:45.325Z","4.0.0-rc.27":"2019-07-15T12:54:56.704Z","4.0.0-rc.28":"2019-09-03T16:17:32.818Z","3.1.1":"2019-09-03T16:22:19.818Z","4.0.0-rc.29":"2019-09-05T11:30:33.230Z","4.0.0-rc.30":"2019-09-06T14:30:11.372Z","4.0.0-rc.31":"2019-10-18T12:45:00.951Z","4.0.0-rc.32":"2019-10-18T13:43:28.187Z","4.0.0-rc.33":"2019-10-19T08:01:41.662Z","4.0.0-rc.34":"2019-10-26T16:01:51.137Z","4.0.0-rc.35":"2019-10-27T07:30:51.700Z","4.0.0-rc.36":"2019-10-27T11:11:16.727Z","4.0.0-rc.37":"2020-01-13T13:01:22.894Z","4.0.0-rc.38":"2020-01-13T13:26:37.032Z","4.0.0-rc.39":"2020-01-13T13:29:16.808Z","4.0.0-rc.40":"2020-01-19T11:28:41.660Z","4.0.0-rc.41":"2020-02-03T15:07:27.686Z","4.0.0-rc.42":"2020-02-05T15:04:37.117Z","4.0.0-rc.43":"2020-02-12T13:56:09.980Z","4.0.0-rc.44":"2020-02-16T11:29:33.968Z","4.0.0-rc.45":"2020-02-16T16:27:42.085Z","4.0.0-rc.46":"2020-02-24T16:21:58.196Z","4.0.0-rc.47":"2020-02-25T16:03:26.059Z","4.0.0-rc.48":"2020-03-02T17:31:12.328Z","4.0.0-rc.49":"2020-03-08T11:51:14.030Z","4.0.0-rc.50":"2020-03-09T12:01:49.697Z","4.0.0-rc.51":"2020-03-14T05:41:49.816Z","4.0.0-rc.52":"2020-03-15T10:36:52.313Z","4.0.0-rc.53":"2020-03-26T16:26:22.778Z","4.0.0-rc.54":"2020-03-28T10:55:33.393Z","4.0.0-rc.55":"2020-03-30T11:47:30.119Z","4.0.0":"2020-04-02T14:51:22.530Z","4.1.0":"2020-05-10T14:25:56.634Z","4.2.0":"2020-09-23T04:54:38.542Z","4.3.0":"2020-10-09T10:04:04.029Z","4.4.0":"2020-12-12T10:11:25.060Z","4.4.0-0":"2020-12-12T10:23:56.103Z","4.4.0-1":"2020-12-12T10:28:32.441Z","4.4.0-2":"2020-12-12T10:34:30.957Z","4.4.1":"2020-12-12T10:38:22.483Z","4.5.0":"2021-01-16T16:43:54.131Z","4.5.1":"2021-01-16T16:46:57.403Z","5.0.0-rc.0":"2021-04-11T09:58:53.791Z","4.5.2-rc.0":"2021-05-08T08:46:15.863Z","4.5.2":"2021-05-08T08:52:27.319Z","4.5.3":"2021-06-04T17:15:22.981Z","4.6.0-rc.0":"2021-08-07T12:53:08.118Z","5.0.0-rc.1":"2021-11-11T14:29:59.444Z","6.0.0-rc.1":"2021-11-11T15:03:38.654Z","5.0.1":"2021-11-15T14:09:02.432Z","6.0.0-rc.2":"2021-11-15T14:09:47.458Z","6.0.0-rc.3":"2021-11-27T16:05:29.319Z","6.0.0-rc.4":"2021-12-14T14:25:29.070Z","6.0.0-rc.5":"2022-01-10T15:53:48.051Z","6.0.0-rc.6":"2022-01-10T16:07:49.713Z","6.0.0-rc.7":"2022-01-10T16:36:17.921Z","6.0.0-rc.8":"2022-01-22T09:59:02.370Z","6.0.0-rc.9":"2022-01-22T10:35:54.384Z","6.0.0-rc.10":"2022-01-22T10:58:37.094Z","6.0.0-rc.11":"2022-01-22T11:13:19.308Z","6.0.0-rc.12":"2022-01-30T15:13:37.929Z","6.0.0-rc.13":"2022-02-06T15:33:04.306Z","6.0.0-rc.14":"2022-02-21T13:38:26.233Z","6.0.0-rc.15":"2022-02-21T14:13:18.853Z","6.0.0-rc.16":"2022-02-26T14:57:23.037Z","6.0.0-rc.17":"2022-02-26T16:29:41.474Z","6.0.0-rc.18":"2022-02-27T08:06:19.896Z","6.0.0-rc.19":"2022-03-21T08:32:30.962Z","6.0.0-rc.20":"2022-03-21T15:22:42.134Z","6.0.0-rc.21":"2022-03-26T06:42:28.305Z","6.0.0-rc.22":"2022-03-26T10:43:36.709Z","6.0.0-rc.23":"2022-03-26T16:28:25.253Z","6.0.0-rc.24":"2022-03-26T16:35:41.282Z","5.0.2":"2022-03-27T15:33:40.367Z","5.1.0":"2022-03-27T15:34:53.150Z","6.0.0-rc.25":"2022-03-29T13:57:59.797Z","6.0.0-rc.26":"2022-04-02T08:39:26.748Z","6.0.0-rc.27":"2022-04-02T11:47:07.273Z","6.0.0-rc.28":"2022-04-02T15:40:30.538Z","6.0.0-rc.29":"2022-04-03T06:00:10.874Z","6.0.0-rc.30":"2022-04-03T14:04:24.071Z","5.1.1":"2022-04-08T06:03:44.287Z","6.0.0-rc.31":"2022-11-19T09:41:53.765Z","6.0.0-rc.32":"2022-11-19T10:23:43.300Z","6.0.0-rc.33":"2023-03-25T16:44:22.917Z"},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"description":"A custom datepicker element based on Google's Material Design built from scratch with lit-element","homepage":"https://github.com/motss/app-datepicker","keywords":["cal","calendar","date","date-picker","datepicker","lit-element","lit-html","picker","web-component","web-components"],"repository":{"type":"git","url":"git+ssh://git@github.com/motss/app-datepicker.git"},"author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"bugs":{"url":"https://github.com/motss/app-datepicker/issues"},"license":"MIT","readme":"","readmeFilename":""}