{"_id":"@granite-elements/granite-timeline","_rev":"1-c954004bf4119180555968791d17a1f4","name":"@granite-elements/granite-timeline","dist-tags":{"latest":"2.0.0"},"versions":{"2.0.0":{"description":"A timeline rendering element using d3 and d3-timelines plugin","keywords":["web-component","web-components","polymer","lostinbrittany","d3","d3-timelines","timeline"],"homepage":"https://github.com/LostInBrittany/granite-timeline","repository":{"type":"git","url":"git+https://github.com/LostInBrittany/granite-timeline.git"},"name":"@granite-elements/granite-timeline","version":"2.0.0","resolutions":{"inherits":"2.0.3","samsam":"1.1.3","supports-color":"3.1.2","type-detect":"1.0.0","@webcomponents/webcomponentsjs":"2.0.0-beta.2"},"main":"granite-timeline.js","author":{"name":"Horacio Gonzalez","email":"horacio.gonzalez@gmail.com"},"license":"MIT","dependencies":{"@granite-elements/granite-js-dependencies-grabber":"^2.0.0","@polymer/polymer":"^3.0.0","d3-timelines":"github:lostinbrittany/d3-timeline#8786143466f4fd8a2ebe662a4c51967ff5a18141"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.0.0-pre.18","wct-browser-legacy":"^0.0.1-pre.11","@webcomponents/webcomponentsjs":"^2.0.0"},"gitHead":"0bf7d233f756e59b28f95712b086aeaed037314c","bugs":{"url":"https://github.com/LostInBrittany/granite-timeline/issues"},"_id":"@granite-elements/granite-timeline@2.0.0","_npmVersion":"6.1.0","_nodeVersion":"8.9.4","_npmUser":{"name":"lostinbrittany","email":"horacio.gonzalez@gmail.com"},"dist":{"integrity":"sha512-Oy/X7W6+c9SJJ0ByRhEpJzvJV8N44XzIzV+mcChMuK25IUC3mT9DIObF7CpJydn7yCDrOJKZk9VOYiNIbr2Nig==","shasum":"c3159bc3e8bc680a59aefc8765ec1633ecb003c3","tarball":"https://registry.npmjs.org/@granite-elements/granite-timeline/-/granite-timeline-2.0.0.tgz","fileCount":9,"unpackedSize":40103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFWxjCRA9TVsSAnZWagAA72QP/3wxDggoXIf4UM+1Oy9M\nTSRm2fV6i0/ucuq5o6Q9EqYNxHK7ftA4yGUR4MTZwab7LZzIPBx39UHTmuq5\nkXrY5d17WfHqZ9Nrj5SLD3o85Ooo/GQZHAWY6YuhWRt5gwVTTorqrhc6lF4z\n1QpMF8jrreSkEwN6GmBIHdSxs0CHMh8e27mfZkgqCsyZijoMVrJri5kI0I9L\n5E8xlooC5VChxMifJpQVXTSGQRSLCp23SRXs6OEnsNgBjpyP9AqPVLx0F4ZW\nTH8gWTChOKoMt+hq0WrEPC+ZxPFzN9le35dQcwtt7I7kZmmRbZrTaklb4qsA\nL/hOd2KM10+qD3IwV5xjiQpQnF0MvFGFty4ZaE/1ic8NHVxl59pHImMCtLuy\nniaqVyxLJIsf5kujPInNTT3kb/htRgLAIljcb2CzPRpKjIj0vVhRFnQwcZZy\nJno4KmwHIh3VbesTQNrGzL78kdiqsMuJ5tWzZrEgnp/huRU4e31gRp6UD499\nbLcmNwSeIYikFLJv1PZ5KURdHjiuzBXqnV6cIby6BiBmRFpL7XRPIQuOm2g9\nfnJIko0U1bvAP7xYU9FN/LEwSXZLTLGOgLlxjRdILxpm1jHH8MlggV9Npahm\nE2t3B3c5OItuZOrmL/4WQXQbMTs7R+yajZxQK74BncD0JnaqOgL4TI2rURcw\nv50N\r\n=fDfY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqR4pIgXvi9EHv5p8nW23+thWOQi5DTX0wPY2mKjYpWAIgcLRqMB+jizjQHURrv/uTHJZsWG8M6OfUt0IoseXj9BI="}]},"maintainers":[{"name":"lostinbrittany","email":"horacio.gonzalez@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/granite-timeline_2.0.0_1528130659027_0.5581523956856065"},"_hasShrinkwrap":false}},"time":{"created":"2018-06-04T16:44:18.850Z","2.0.0":"2018-06-04T16:44:19.091Z","modified":"2022-04-05T15:25:59.559Z"},"maintainers":[{"name":"lostinbrittany","email":"horacio.gonzalez@gmail.com"}],"description":"A timeline rendering element using d3 and d3-timelines plugin","homepage":"https://github.com/LostInBrittany/granite-timeline","keywords":["web-component","web-components","polymer","lostinbrittany","d3","d3-timelines","timeline"],"repository":{"type":"git","url":"git+https://github.com/LostInBrittany/granite-timeline.git"},"author":{"name":"Horacio Gonzalez","email":"horacio.gonzalez@gmail.com"},"bugs":{"url":"https://github.com/LostInBrittany/granite-timeline/issues"},"license":"MIT","readme":"[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/LostInBrittany/granite-timeline)\n\n# granite-timeline\n\nA timeline rendering element using d3 and d3-timeline plugin\n\n> Based on Polymer 2.x.\n\n\n\n## Doc & demo\n\n[https://lostinbrittany.github.io/granite-timeline](https://lostinbrittany.github.io/granite-timeline)\n\n\n## Usage\n\n<!---\n```\n<custom-element-demo>\n  <template>\n    <script src=\"../webcomponentsjs/webcomponents-lite.js\"></script>\n    <link rel=\"import\" href=\"granite-timeline.html\">\n    <next-code-block></next-code-block>\n  </template>\n</custom-element-demo>\n```\n-->\n```html\n<granite-timeline \n    data='[{\"times\":[{\"starting_time\":1355752800000,\"ending_time\":1355759900000}, {\"starting_time\":1355767900000,\"ending_time\":1355774400000}]},{\"times\":[{\"starting_time\":1355759910000,\"ending_time\":1355761900000}]},{\"times\":[{\"starting_time\":1355761910000,\"ending_time\":1355763910000}]}]'          \n    debug></granite-timeline>\n```\n\n## Install\n\nInstall the component using [Bower](http://bower.io/):\n\n```sh\n$ bower install LostInBrittany/granite-timeline --save\n```\n\nOr [download as ZIP](https://github.com/LostInBrittany/granite-timeline/archive/gh-pages.zip).\n\n## Usage\n\n1. Import Web Components' polyfill (if needed):\n\n    ```html\n    <script src=\"bower_components/webcomponentsjs/webcomponents.min.js\"></script>\n    ```\n\n2. Import Custom Element:\n\n    ```html\n    <link rel=\"import\" href=\"bower_components/granite-timeline/granite-timeline.html\">\n    ```\n\n3. Start using it!\n\n    ```html\n    <granite-timeline data=\"{{data}}\" axis=\"{{axis}}\"></granite-timeline>\n    ```\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -m 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## License\n\n[MIT License](http://opensource.org/licenses/MIT)","readmeFilename":"README.md"}