{"action":"created","comment":{"url":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/comments/256536976","pull_request_review_id":203384710,"id":256536976,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1NjUzNjk3Ng==","diff_hunk":"@@ -0,0 +1,71 @@\n+import { Component, Input } from \"@angular/core\";\n+\n+let nextId = 0;\n+\n+@Component({\n+\tselector: \"ibm-date-picker-input\",\n+\ttemplate: `\n+\t<div class=\"bx--form-item\">\n+\t\t<div class=\"bx--date-picker\"\n+\t\t[ngClass]= \"'bx--date-picker--'+type\">\n+\t\t\t<div class=\"bx--date-picker-container\">\n+\t\t\t\t<label [for]=\"id\" class=\"bx--label\">\n+\t\t\t\t\t{{label}}\n+\t\t\t\t</label>\n+\t\t\t\t<svg *ngIf=\"type == 'single'\"\n+\t\t\t\tdata-date-picker-icon\n+\t\t\t\tclass=\"bx--date-picker__icon\"\n+\t\t\t\twidth=\"14\" height=\"16\"\n+\t\t\t\tviewBox=\"0 0 14 16\"\n+\t\t\t\tdata-open>\n+\t\t\t\t\t<path d=\"M0 5h14v1H0V5zm3-5h1v4H3V0zm7 0h1v4h-1V0zM0 2.5A1.5 1.5 0 0 1 1.5 1h11A1.5 1.5 0 0 1 14 2.5v12a1.5 1.5 0 0 1-1.5\n+\t\t\t\t\t\t1.5h-11A1.5 1.5 0 0 1 0 14.5v-12zm1 0v12a.5.5 0 0 0\n+\t\t\t\t\t\t.5.5h11a.5.5 0 0 0 .5-.5v-12a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5z\"\n+\t\t\t\t\t\tfill-rule=\"nonzero\"/>\n+\t\t\t\t</svg>\n+\t\t\t\t<input\n+\t\t\t\tautocomplete=\"off\"\n+\t\t\t\ttype=\"text\"\n+\t\t\t\tclass=\"bx--date-picker__input\"\n+\t\t\t\t[pattern]=\"pattern\"\n+\t\t\t\t[placeholder]=\"placeholder\"\n+\t\t\t\tdata-date-picker-input\n+\t\t\t\t[attr.data-input] = \"type == 'single' || type == 'range' ?  '' : null\"\n+\t\t\t\t[id]= \"type == 'range' ? id : 'single'\"/>\n+\t\t\t</div>\n+\n+\t\t\t<svg *ngIf= \"type == 'range' && hasIcon\"\n+\t\t\tdata-date-picker-icon\n+\t\t\tclass=\"bx--date-picker__icon\"\n+\t\t\twidth=\"14\" height=\"16\"\n+\t\t\tviewBox=\"0 0 14 16\"\n+\t\t\tdata-open>\n+\t\t\t\t<path d=\"M0 5h14v1H0V5zm3-5h1v4H3V0zm7 0h1v4h-1V0zM0 2.5A1.5 1.5 0 0 1 1.5 1h11A1.5 1.5 0 0 1 14 2.5v12a1.5 1.5 0 0 1-1.5\n+\t\t\t\t1.5h-11A1.5 1.5 0 0 1 0 14.5v-12zm1 0v12a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5v-12a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5z\"\n+\t\t\t\t\tfill-rule=\"nonzero\"/>\n+\t\t\t</svg>\n+\t\t</div>\n+\t</div>\n+\t`\n+})\n+export class DatePickerInput {\n+\t/**\n+\t * Select a calendar type for the `model`.\n+\t * Internal purposes only.\n+\t *\n+\t * @type {(\"simple\" | \"single\" | \"range\")}\n+\t * @memberof Datepicker\n+\t */\n+\t@Input() type: \"simple\" | \"single\" | \"range\" = \"simple\";\n+\n+\t@Input() id = `datepicker-${nextId++}`;\n+\n+\t@Input() hasIcon: string;","path":"src/datepicker-input/datepicker-input.component.ts","position":63,"original_position":63,"commit_id":"e4a6ee578b469bedf6c003a3972cd96b673eee0b","original_commit_id":"b8d15975946a1702e6f2f10a4ac41088c1734013","user":{"login":"magedhennawy","id":14252814,"node_id":"MDQ6VXNlcjE0MjUyODE0","avatar_url":"https://avatars0.githubusercontent.com/u/14252814?v=4","gravatar_id":"","url":"https://api.github.com/users/magedhennawy","html_url":"https://github.com/magedhennawy","followers_url":"https://api.github.com/users/magedhennawy/followers","following_url":"https://api.github.com/users/magedhennawy/following{/other_user}","gists_url":"https://api.github.com/users/magedhennawy/gists{/gist_id}","starred_url":"https://api.github.com/users/magedhennawy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magedhennawy/subscriptions","organizations_url":"https://api.github.com/users/magedhennawy/orgs","repos_url":"https://api.github.com/users/magedhennawy/repos","events_url":"https://api.github.com/users/magedhennawy/events{/privacy}","received_events_url":"https://api.github.com/users/magedhennawy/received_events","type":"User","site_admin":false},"body":"bad copy paste :woops:\r\n","created_at":"2019-02-13T18:49:45Z","updated_at":"2019-02-13T18:49:46Z","html_url":"https://github.com/IBM/carbon-components-angular/pull/312#discussion_r256536976","pull_request_url":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/312","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/comments/256536976"},"html":{"href":"https://github.com/IBM/carbon-components-angular/pull/312#discussion_r256536976"},"pull_request":{"href":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/312"}},"in_reply_to_id":256527223},"pull_request":{"url":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/312","id":236623698,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NjIzNjk4","html_url":"https://github.com/IBM/carbon-components-angular/pull/312","diff_url":"https://github.com/IBM/carbon-components-angular/pull/312.diff","patch_url":"https://github.com/IBM/carbon-components-angular/pull/312.patch","issue_url":"https://api.github.com/repos/IBM/carbon-components-angular/issues/312","number":312,"state":"open","locked":false,"title":"feat(datepicker): Add datepicker component","user":{"login":"magedhennawy","id":14252814,"node_id":"MDQ6VXNlcjE0MjUyODE0","avatar_url":"https://avatars0.githubusercontent.com/u/14252814?v=4","gravatar_id":"","url":"https://api.github.com/users/magedhennawy","html_url":"https://github.com/magedhennawy","followers_url":"https://api.github.com/users/magedhennawy/followers","following_url":"https://api.github.com/users/magedhennawy/following{/other_user}","gists_url":"https://api.github.com/users/magedhennawy/gists{/gist_id}","starred_url":"https://api.github.com/users/magedhennawy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magedhennawy/subscriptions","organizations_url":"https://api.github.com/users/magedhennawy/orgs","repos_url":"https://api.github.com/users/magedhennawy/repos","events_url":"https://api.github.com/users/magedhennawy/events{/privacy}","received_events_url":"https://api.github.com/users/magedhennawy/received_events","type":"User","site_admin":false},"body":"super WIP. \r\n\r\n\r\nContains: \r\n- Basic HTML structure of datepicker components. \r\n- Basic clicks and necessary logic for foundation.\r\n- flatpickr implementation","created_at":"2018-12-06T18:12:25Z","updated_at":"2019-02-13T18:49:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"198d9c69c90b4ed05f889663d05f1d3f1da500d9","assignee":null,"assignees":[],"requested_reviewers":[{"login":"youda97","id":25139161,"node_id":"MDQ6VXNlcjI1MTM5MTYx","avatar_url":"https://avatars0.githubusercontent.com/u/25139161?v=4","gravatar_id":"","url":"https://api.github.com/users/youda97","html_url":"https://github.com/youda97","followers_url":"https://api.github.com/users/youda97/followers","following_url":"https://api.github.com/users/youda97/following{/other_user}","gists_url":"https://api.github.com/users/youda97/gists{/gist_id}","starred_url":"https://api.github.com/users/youda97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youda97/subscriptions","organizations_url":"https://api.github.com/users/youda97/orgs","repos_url":"https://api.github.com/users/youda97/repos","events_url":"https://api.github.com/users/youda97/events{/privacy}","received_events_url":"https://api.github.com/users/youda97/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/312/commits","review_comments_url":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/312/comments","review_comment_url":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IBM/carbon-components-angular/issues/312/comments","statuses_url":"https://api.github.com/repos/IBM/carbon-components-angular/statuses/e4a6ee578b469bedf6c003a3972cd96b673eee0b","head":{"label":"magedhennawy:master","ref":"master","sha":"e4a6ee578b469bedf6c003a3972cd96b673eee0b","user":{"login":"magedhennawy","id":14252814,"node_id":"MDQ6VXNlcjE0MjUyODE0","avatar_url":"https://avatars0.githubusercontent.com/u/14252814?v=4","gravatar_id":"","url":"https://api.github.com/users/magedhennawy","html_url":"https://github.com/magedhennawy","followers_url":"https://api.github.com/users/magedhennawy/followers","following_url":"https://api.github.com/users/magedhennawy/following{/other_user}","gists_url":"https://api.github.com/users/magedhennawy/gists{/gist_id}","starred_url":"https://api.github.com/users/magedhennawy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magedhennawy/subscriptions","organizations_url":"https://api.github.com/users/magedhennawy/orgs","repos_url":"https://api.github.com/users/magedhennawy/repos","events_url":"https://api.github.com/users/magedhennawy/events{/privacy}","received_events_url":"https://api.github.com/users/magedhennawy/received_events","type":"User","site_admin":false},"repo":{"id":151306478,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEzMDY0Nzg=","name":"carbon-components-angular","full_name":"magedhennawy/carbon-components-angular","private":false,"owner":{"login":"magedhennawy","id":14252814,"node_id":"MDQ6VXNlcjE0MjUyODE0","avatar_url":"https://avatars0.githubusercontent.com/u/14252814?v=4","gravatar_id":"","url":"https://api.github.com/users/magedhennawy","html_url":"https://github.com/magedhennawy","followers_url":"https://api.github.com/users/magedhennawy/followers","following_url":"https://api.github.com/users/magedhennawy/following{/other_user}","gists_url":"https://api.github.com/users/magedhennawy/gists{/gist_id}","starred_url":"https://api.github.com/users/magedhennawy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magedhennawy/subscriptions","organizations_url":"https://api.github.com/users/magedhennawy/orgs","repos_url":"https://api.github.com/users/magedhennawy/repos","events_url":"https://api.github.com/users/magedhennawy/events{/privacy}","received_events_url":"https://api.github.com/users/magedhennawy/received_events","type":"User","site_admin":false},"html_url":"https://github.com/magedhennawy/carbon-components-angular","description":"An Angular implementation of the Carbon Design System for IBM.","fork":true,"url":"https://api.github.com/repos/magedhennawy/carbon-components-angular","forks_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/forks","keys_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/teams","hooks_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/hooks","issue_events_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/issues/events{/number}","events_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/events","assignees_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/assignees{/user}","branches_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/branches{/branch}","tags_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/tags","blobs_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/statuses/{sha}","languages_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/languages","stargazers_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/stargazers","contributors_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/contributors","subscribers_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/subscribers","subscription_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/subscription","commits_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/contents/{+path}","compare_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/merges","archive_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/downloads","issues_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/issues{/number}","pulls_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/pulls{/number}","milestones_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/milestones{/number}","notifications_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/labels{/name}","releases_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/releases{/id}","deployments_url":"https://api.github.com/repos/magedhennawy/carbon-components-angular/deployments","created_at":"2018-10-02T18:51:45Z","updated_at":"2019-02-13T18:28:19Z","pushed_at":"2019-02-13T18:28:17Z","git_url":"git://github.com/magedhennawy/carbon-components-angular.git","ssh_url":"git@github.com:magedhennawy/carbon-components-angular.git","clone_url":"https://github.com/magedhennawy/carbon-components-angular.git","svn_url":"https://github.com/magedhennawy/carbon-components-angular","homepage":"https://angular.carbondesignsystem.com","size":20526,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"IBM:master","ref":"master","sha":"1a4316f3673cfb097a9c2f6af0e51763f2612f5c","user":{"login":"IBM","id":1459110,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0NTkxMTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1459110?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM","html_url":"https://github.com/IBM","followers_url":"https://api.github.com/users/IBM/followers","following_url":"https://api.github.com/users/IBM/following{/other_user}","gists_url":"https://api.github.com/users/IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM/subscriptions","organizations_url":"https://api.github.com/users/IBM/orgs","repos_url":"https://api.github.com/users/IBM/repos","events_url":"https://api.github.com/users/IBM/events{/privacy}","received_events_url":"https://api.github.com/users/IBM/received_events","type":"Organization","site_admin":false},"repo":{"id":143059442,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMwNTk0NDI=","name":"carbon-components-angular","full_name":"IBM/carbon-components-angular","private":false,"owner":{"login":"IBM","id":1459110,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0NTkxMTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1459110?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM","html_url":"https://github.com/IBM","followers_url":"https://api.github.com/users/IBM/followers","following_url":"https://api.github.com/users/IBM/following{/other_user}","gists_url":"https://api.github.com/users/IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM/subscriptions","organizations_url":"https://api.github.com/users/IBM/orgs","repos_url":"https://api.github.com/users/IBM/repos","events_url":"https://api.github.com/users/IBM/events{/privacy}","received_events_url":"https://api.github.com/users/IBM/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/IBM/carbon-components-angular","description":"An Angular implementation of the Carbon Design System for IBM.","fork":false,"url":"https://api.github.com/repos/IBM/carbon-components-angular","forks_url":"https://api.github.com/repos/IBM/carbon-components-angular/forks","keys_url":"https://api.github.com/repos/IBM/carbon-components-angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IBM/carbon-components-angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IBM/carbon-components-angular/teams","hooks_url":"https://api.github.com/repos/IBM/carbon-components-angular/hooks","issue_events_url":"https://api.github.com/repos/IBM/carbon-components-angular/issues/events{/number}","events_url":"https://api.github.com/repos/IBM/carbon-components-angular/events","assignees_url":"https://api.github.com/repos/IBM/carbon-components-angular/assignees{/user}","branches_url":"https://api.github.com/repos/IBM/carbon-components-angular/branches{/branch}","tags_url":"https://api.github.com/repos/IBM/carbon-components-angular/tags","blobs_url":"https://api.github.com/repos/IBM/carbon-components-angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IBM/carbon-components-angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IBM/carbon-components-angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/IBM/carbon-components-angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IBM/carbon-components-angular/statuses/{sha}","languages_url":"https://api.github.com/repos/IBM/carbon-components-angular/languages","stargazers_url":"https://api.github.com/repos/IBM/carbon-components-angular/stargazers","contributors_url":"https://api.github.com/repos/IBM/carbon-components-angular/contributors","subscribers_url":"https://api.github.com/repos/IBM/carbon-components-angular/subscribers","subscription_url":"https://api.github.com/repos/IBM/carbon-components-angular/subscription","commits_url":"https://api.github.com/repos/IBM/carbon-components-angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/IBM/carbon-components-angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/IBM/carbon-components-angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/IBM/carbon-components-angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/IBM/carbon-components-angular/contents/{+path}","compare_url":"https://api.github.com/repos/IBM/carbon-components-angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IBM/carbon-components-angular/merges","archive_url":"https://api.github.com/repos/IBM/carbon-components-angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IBM/carbon-components-angular/downloads","issues_url":"https://api.github.com/repos/IBM/carbon-components-angular/issues{/number}","pulls_url":"https://api.github.com/repos/IBM/carbon-components-angular/pulls{/number}","milestones_url":"https://api.github.com/repos/IBM/carbon-components-angular/milestones{/number}","notifications_url":"https://api.github.com/repos/IBM/carbon-components-angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IBM/carbon-components-angular/labels{/name}","releases_url":"https://api.github.com/repos/IBM/carbon-components-angular/releases{/id}","deployments_url":"https://api.github.com/repos/IBM/carbon-components-angular/deployments","created_at":"2018-07-31T19:41:21Z","updated_at":"2019-02-12T16:29:44Z","pushed_at":"2019-02-13T18:28:18Z","git_url":"git://github.com/IBM/carbon-components-angular.git","ssh_url":"git@github.com:IBM/carbon-components-angular.git","clone_url":"https://github.com/IBM/carbon-components-angular.git","svn_url":"https://github.com/IBM/carbon-components-angular","homepage":"https://angular.carbondesignsystem.com","size":70284,"stargazers_count":60,"watchers_count":60,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":34,"open_issues":44,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/312"},"html":{"href":"https://github.com/IBM/carbon-components-angular/pull/312"},"issue":{"href":"https://api.github.com/repos/IBM/carbon-components-angular/issues/312"},"comments":{"href":"https://api.github.com/repos/IBM/carbon-components-angular/issues/312/comments"},"review_comments":{"href":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/312/comments"},"review_comment":{"href":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IBM/carbon-components-angular/pulls/312/commits"},"statuses":{"href":"https://api.github.com/repos/IBM/carbon-components-angular/statuses/e4a6ee578b469bedf6c003a3972cd96b673eee0b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"magedhennawy"}}