1- Pikaday
1+ @ handsontable/pikaday
22========
33
4- [ ![ NPM version] [ npm-image ]] [ npm-url ]
5- [ ![ License ] [ license-image ]] [ license-url ]
6- [ ![ Downloads ] [ downloads-image ]] [ downloads-url ]
4+ [ ![ NPM version] ( https://img.shields.io/ npm/v/@handsontable/pikaday.svg?style=flat )] ( https://www.npmjs.com/package/@handsontable/pikaday )
5+ [ ![ GitHub license] ( https://img.shields.io/badge/ license-MIT-blue.svg )] ( https://github.com/handsontable/pikaday/blob/master/LICENSE )
6+ [ ![ NPM downloads] ( https://img.shields.io/npm/dm/@handsontable/pikaday.svg?style=flat )] ( https://www.npmjs.com/package/@handsontable/pikaday )
77
88
99### A refreshing JavaScript Datepicker
@@ -23,26 +23,26 @@ Also see the [changelog](CHANGELOG.md)
2323You can install Pikaday as an NPM package:
2424
2525``` shell
26- npm install pikaday
26+ npm install @handsontable/ pikaday
2727```
2828
2929Or link directly to the CDN:
3030
3131``` html
32- <script src =" https://cdn.jsdelivr.net/npm/pikaday/pikaday.js" ></script >
32+ <script src =" https://cdn.jsdelivr.net/npm/@handsontable/ pikaday/pikaday.js" ></script >
3333```
3434
3535## Styles
3636You will also need to include Pikaday CSS file. This step depends on how Pikaday was installed. Either import from NPM:
3737
3838``` css
39- @import ' ./node_modules /pikaday/css/pikaday.css' ;
39+ @import ' @handsontable /pikaday/css/pikaday.css' ;
4040```
4141
4242Or link to the CDN:
4343
4444``` html
45- <link rel =" stylesheet" type =" text/css" href =" https://cdn.jsdelivr.net/npm/pikaday/css/pikaday.css" >
45+ <link rel =" stylesheet" type =" text/css" href =" https://cdn.jsdelivr.net/npm/@handsontable/ pikaday/css/pikaday.css" >
4646```
4747
4848## Usage
@@ -216,7 +216,7 @@ If you use a modular script loader, Pikaday is not bound to the global object an
216216See the [ AMD example] [ ] for a full version.
217217
218218``` javascript
219- require ([' pikaday' ], function (Pikaday ) {
219+ require ([' @handsontable/ pikaday' ], function (Pikaday ) {
220220 var picker = new Pikaday ({ field: document .getElementById (' datepicker' ) });
221221});
222222```
@@ -235,7 +235,7 @@ If you use a CommonJS compatible environment you can use the require function to
235235
236236
237237``` javascript
238- var pikaday = require (' pikaday' );
238+ var pikaday = require (' @handsontable/ pikaday' );
239239```
240240
241241When you bundle all your required modules with [ Browserify] [ browserify ] and you don't use [ Moment.js] [ moment ] specify the ignore option:
@@ -377,14 +377,9 @@ Also [@stas][stas] has a fork [stas/Pikaday][stas Pika], but is now quite old
377377
378378## Browser Compatibility
379379
380- * IE 7+
381- * Chrome 8+
382- * Firefox 3.5+
383- * Safari 3+
384- * Opera 10.6+
385-
386- [ ![ browser compatibility] ( https://ci.testling.com/rikkert/pikaday.png )
387- ] ( https://ci.testling.com/rikkert/pikaday )
380+ * Chrome (latest major versions)
381+ * Firefox (latest major versions)
382+ * Safari (latest major versions)
388383
389384
390385* * *
0 commit comments