{"action":"created","comment":{"url":"https://api.github.com/repos/google/material-design-lite/pulls/comments/82022258","pull_request_review_id":2958739,"id":82022258,"diff_hunk":"@@ -58,88 +58,82 @@\n       <h1>MDL Checkbox</h1>\n       <section>\n         <h2>Basic Example, no Javascript</h2>\n-        <div class=\"mdl-checkbox-wrapper\">\n-          <div class=\"mdl-checkbox-wrapper__layout\">\n-            <div class=\"mdl-checkbox\">\n-              <input type=\"checkbox\"\n-                     id=\"basic-checkbox\"\n-                     class=\"mdl-checkbox__native-control\"\n-                     aria-labelledby=\"basic-checkbox-label\"/>\n-              <div class=\"mdl-checkbox__background\">\n-                <svg version=\"1.1\"\n-                     class=\"mdl-checkbox__checkmark\"\n-                     xmlns=\"http://www.w3.org/2000/svg\"\n-                     viewBox=\"0 0 24 24\"\n-                     xml:space=\"preserve\">\n-                  <path class=\"mdl-checkbox__checkmark__path\"\n-                        fill=\"none\"\n-                        stroke=\"white\"\n-                        d=\"M1.73,12.91 8.1,19.28 22.79,4.59\"/>\n-                </svg>\n-                <div class=\"mdl-checkbox__mixedmark\"></div>\n-              </div>\n+        <div class=\"mdl-form-field\">\n+          <div class=\"mdl-checkbox\">\n+            <input type=\"checkbox\"\n+                   id=\"basic-checkbox\"\n+                   class=\"mdl-checkbox__native-control\"\n+                   aria-labelledby=\"basic-checkbox-label\"/>\n+            <div class=\"mdl-checkbox__background\">\n+              <svg version=\"1.1\"\n+                   class=\"mdl-checkbox__checkmark\"\n+                   xmlns=\"http://www.w3.org/2000/svg\"\n+                   viewBox=\"0 0 24 24\"\n+                   xml:space=\"preserve\">\n+                <path class=\"mdl-checkbox__checkmark__path\"\n+                      fill=\"none\"\n+                      stroke=\"white\"\n+                      d=\"M1.73,12.91 8.1,19.28 22.79,4.59\"/>\n+              </svg>\n+              <div class=\"mdl-checkbox__mixedmark\"></div>\n             </div>\n-            <label for=\"basic-checkbox\" id=\"basic-checkbox-label\">This is my checkbox</label>\n           </div>\n+          <label for=\"basic-checkbox\" id=\"basic-checkbox-label\">This is my checkbox</label>\n         </div>\n         <button type=\"button\" onclick=\"document.getElementById('basic-checkbox').indeterminate = true;\">Make indeterminate</button>\n         <button type=\"button\" onclick=\"this.parentElement.hasAttribute('dir') ? this.parentElement.removeAttribute('dir') : this.parentElement.setAttribute('dir', 'rtl');\">Toggle RTL</button>\n-        <button type=\"button\" onclick=\"document.querySelector('.mdl-checkbox-wrapper').classList.toggle('mdl-checkbox-wrapper--align-end');\">Toggle Align End</button>\n+        <button type=\"button\" onclick=\"document.querySelector('.mdl-form-field').classList.toggle('mdl-form-field--align-end');\">Toggle Align End</button>\n         <button type=\"button\" onclick=\"document.getElementById('basic-checkbox').disabled = !document.getElementById('basic-checkbox').disabled;\">Toggle Disabled</button>\n       </section>\n       <section>\n         <h2>With Javascript</h2>\n-        <div class=\"mdl-checkbox-wrapper\">\n-          <div class=\"mdl-checkbox-wrapper__layout\">\n-            <div id=\"mdl-js-checkbox\" class=\"mdl-checkbox\">\n-              <input type=\"checkbox\"\n-                     id=\"my-checkbox\"\n-                     class=\"mdl-checkbox__native-control\"\n-                     aria-labelledby=\"my-checkbox-label\"/>\n-              <div class=\"mdl-checkbox__background\">\n-                <svg version=\"1.1\"\n-                     class=\"mdl-checkbox__checkmark\"\n-                     xmlns=\"http://www.w3.org/2000/svg\"\n-                     viewBox=\"0 0 24 24\"\n-                     xml:space=\"preserve\">\n-                  <path class=\"mdl-checkbox__checkmark__path\"\n-                        fill=\"none\"\n-                        stroke=\"white\"\n-                        d=\"M1.73,12.91 8.1,19.28 22.79,4.59\"/>\n-                </svg>\n-                <div class=\"mdl-checkbox__mixedmark\"></div>\n-              </div>\n+        <div class=\"mdl-form-field\">\n+          <div id=\"mdl-js-checkbox\" class=\"mdl-checkbox\">\n+            <input type=\"checkbox\"\n+                   id=\"my-checkbox\"\n+                   class=\"mdl-checkbox__native-control\"\n+                   aria-labelledby=\"my-checkbox-label\"/>","path":"demos/checkbox.html","position":117,"original_position":117,"commit_id":"2f8c15b3a3072872a5805ff7b7e89b4b62a8a576","original_commit_id":"2f8c15b3a3072872a5805ff7b7e89b4b62a8a576","user":{"login":"sgomes","id":409615,"avatar_url":"https://avatars.githubusercontent.com/u/409615?v=3","gravatar_id":"","url":"https://api.github.com/users/sgomes","html_url":"https://github.com/sgomes","followers_url":"https://api.github.com/users/sgomes/followers","following_url":"https://api.github.com/users/sgomes/following{/other_user}","gists_url":"https://api.github.com/users/sgomes/gists{/gist_id}","starred_url":"https://api.github.com/users/sgomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgomes/subscriptions","organizations_url":"https://api.github.com/users/sgomes/orgs","repos_url":"https://api.github.com/users/sgomes/repos","events_url":"https://api.github.com/users/sgomes/events{/privacy}","received_events_url":"https://api.github.com/users/sgomes/received_events","type":"User","site_admin":false},"body":"Probably redundant.","created_at":"2016-10-05T17:09:17Z","updated_at":"2016-10-05T17:14:53Z","html_url":"https://github.com/google/material-design-lite/pull/4815#discussion_r82022258","pull_request_url":"https://api.github.com/repos/google/material-design-lite/pulls/4815","_links":{"self":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/comments/82022258"},"html":{"href":"https://github.com/google/material-design-lite/pull/4815#discussion_r82022258"},"pull_request":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/4815"}}},"pull_request":{"url":"https://api.github.com/repos/google/material-design-lite/pulls/4815","id":87776952,"html_url":"https://github.com/google/material-design-lite/pull/4815","diff_url":"https://github.com/google/material-design-lite/pull/4815.diff","patch_url":"https://github.com/google/material-design-lite/pull/4815.patch","issue_url":"https://api.github.com/repos/google/material-design-lite/issues/4815","number":4815,"state":"open","locked":false,"title":"feat(form-field): Initial Implementation","user":{"login":"traviskaufman","id":1185269,"avatar_url":"https://avatars.githubusercontent.com/u/1185269?v=3","gravatar_id":"","url":"https://api.github.com/users/traviskaufman","html_url":"https://github.com/traviskaufman","followers_url":"https://api.github.com/users/traviskaufman/followers","following_url":"https://api.github.com/users/traviskaufman/following{/other_user}","gists_url":"https://api.github.com/users/traviskaufman/gists{/gist_id}","starred_url":"https://api.github.com/users/traviskaufman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/traviskaufman/subscriptions","organizations_url":"https://api.github.com/users/traviskaufman/orgs","repos_url":"https://api.github.com/users/traviskaufman/repos","events_url":"https://api.github.com/users/traviskaufman/events{/privacy}","received_events_url":"https://api.github.com/users/traviskaufman/received_events","type":"User","site_admin":false},"body":"* Add mdl-form-field package\r\n* Refactor existing input controls to use mdl-form-field\r\n\r\nResolves #4475\r\n[Delivers #130834979]","created_at":"2016-10-03T19:34:41Z","updated_at":"2016-10-05T17:14:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"565de7b107de6f43a5a0603f6736f9f7f1ae723c","assignee":{"login":"sgomes","id":409615,"avatar_url":"https://avatars.githubusercontent.com/u/409615?v=3","gravatar_id":"","url":"https://api.github.com/users/sgomes","html_url":"https://github.com/sgomes","followers_url":"https://api.github.com/users/sgomes/followers","following_url":"https://api.github.com/users/sgomes/following{/other_user}","gists_url":"https://api.github.com/users/sgomes/gists{/gist_id}","starred_url":"https://api.github.com/users/sgomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgomes/subscriptions","organizations_url":"https://api.github.com/users/sgomes/orgs","repos_url":"https://api.github.com/users/sgomes/repos","events_url":"https://api.github.com/users/sgomes/events{/privacy}","received_events_url":"https://api.github.com/users/sgomes/received_events","type":"User","site_admin":false},"assignees":[{"login":"sgomes","id":409615,"avatar_url":"https://avatars.githubusercontent.com/u/409615?v=3","gravatar_id":"","url":"https://api.github.com/users/sgomes","html_url":"https://github.com/sgomes","followers_url":"https://api.github.com/users/sgomes/followers","following_url":"https://api.github.com/users/sgomes/following{/other_user}","gists_url":"https://api.github.com/users/sgomes/gists{/gist_id}","starred_url":"https://api.github.com/users/sgomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgomes/subscriptions","organizations_url":"https://api.github.com/users/sgomes/orgs","repos_url":"https://api.github.com/users/sgomes/repos","events_url":"https://api.github.com/users/sgomes/events{/privacy}","received_events_url":"https://api.github.com/users/sgomes/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/google/material-design-lite/pulls/4815/commits","review_comments_url":"https://api.github.com/repos/google/material-design-lite/pulls/4815/comments","review_comment_url":"https://api.github.com/repos/google/material-design-lite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/material-design-lite/issues/4815/comments","statuses_url":"https://api.github.com/repos/google/material-design-lite/statuses/2f8c15b3a3072872a5805ff7b7e89b4b62a8a576","head":{"label":"google:feat/form-field","ref":"feat/form-field","sha":"2f8c15b3a3072872a5805ff7b7e89b4b62a8a576","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":29268051,"name":"material-design-lite","full_name":"google/material-design-lite","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/material-design-lite","description":"Material Design Components in HTML/CSS/JS","fork":false,"url":"https://api.github.com/repos/google/material-design-lite","forks_url":"https://api.github.com/repos/google/material-design-lite/forks","keys_url":"https://api.github.com/repos/google/material-design-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/material-design-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/material-design-lite/teams","hooks_url":"https://api.github.com/repos/google/material-design-lite/hooks","issue_events_url":"https://api.github.com/repos/google/material-design-lite/issues/events{/number}","events_url":"https://api.github.com/repos/google/material-design-lite/events","assignees_url":"https://api.github.com/repos/google/material-design-lite/assignees{/user}","branches_url":"https://api.github.com/repos/google/material-design-lite/branches{/branch}","tags_url":"https://api.github.com/repos/google/material-design-lite/tags","blobs_url":"https://api.github.com/repos/google/material-design-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/material-design-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/material-design-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/material-design-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/material-design-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/google/material-design-lite/languages","stargazers_url":"https://api.github.com/repos/google/material-design-lite/stargazers","contributors_url":"https://api.github.com/repos/google/material-design-lite/contributors","subscribers_url":"https://api.github.com/repos/google/material-design-lite/subscribers","subscription_url":"https://api.github.com/repos/google/material-design-lite/subscription","commits_url":"https://api.github.com/repos/google/material-design-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/material-design-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/material-design-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/material-design-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/material-design-lite/contents/{+path}","compare_url":"https://api.github.com/repos/google/material-design-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/material-design-lite/merges","archive_url":"https://api.github.com/repos/google/material-design-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/material-design-lite/downloads","issues_url":"https://api.github.com/repos/google/material-design-lite/issues{/number}","pulls_url":"https://api.github.com/repos/google/material-design-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/google/material-design-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/google/material-design-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/material-design-lite/labels{/name}","releases_url":"https://api.github.com/repos/google/material-design-lite/releases{/id}","deployments_url":"https://api.github.com/repos/google/material-design-lite/deployments","created_at":"2015-01-14T22:01:33Z","updated_at":"2016-10-05T17:02:26Z","pushed_at":"2016-10-05T15:39:41Z","git_url":"git://github.com/google/material-design-lite.git","ssh_url":"git@github.com:google/material-design-lite.git","clone_url":"https://github.com/google/material-design-lite.git","svn_url":"https://github.com/google/material-design-lite","homepage":"http://getmdl.io","size":64187,"stargazers_count":23591,"watchers_count":23591,"language":"HTML","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":3917,"mirror_url":null,"open_issues_count":302,"forks":3917,"open_issues":302,"watchers":23591,"default_branch":"mdl-1.x"}},"base":{"label":"google:master","ref":"master","sha":"c93cc29f64d78a8100cd64dc7419d790c1411a3e","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":29268051,"name":"material-design-lite","full_name":"google/material-design-lite","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/material-design-lite","description":"Material Design Components in HTML/CSS/JS","fork":false,"url":"https://api.github.com/repos/google/material-design-lite","forks_url":"https://api.github.com/repos/google/material-design-lite/forks","keys_url":"https://api.github.com/repos/google/material-design-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/material-design-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/material-design-lite/teams","hooks_url":"https://api.github.com/repos/google/material-design-lite/hooks","issue_events_url":"https://api.github.com/repos/google/material-design-lite/issues/events{/number}","events_url":"https://api.github.com/repos/google/material-design-lite/events","assignees_url":"https://api.github.com/repos/google/material-design-lite/assignees{/user}","branches_url":"https://api.github.com/repos/google/material-design-lite/branches{/branch}","tags_url":"https://api.github.com/repos/google/material-design-lite/tags","blobs_url":"https://api.github.com/repos/google/material-design-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/material-design-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/material-design-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/material-design-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/material-design-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/google/material-design-lite/languages","stargazers_url":"https://api.github.com/repos/google/material-design-lite/stargazers","contributors_url":"https://api.github.com/repos/google/material-design-lite/contributors","subscribers_url":"https://api.github.com/repos/google/material-design-lite/subscribers","subscription_url":"https://api.github.com/repos/google/material-design-lite/subscription","commits_url":"https://api.github.com/repos/google/material-design-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/material-design-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/material-design-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/material-design-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/material-design-lite/contents/{+path}","compare_url":"https://api.github.com/repos/google/material-design-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/material-design-lite/merges","archive_url":"https://api.github.com/repos/google/material-design-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/material-design-lite/downloads","issues_url":"https://api.github.com/repos/google/material-design-lite/issues{/number}","pulls_url":"https://api.github.com/repos/google/material-design-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/google/material-design-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/google/material-design-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/material-design-lite/labels{/name}","releases_url":"https://api.github.com/repos/google/material-design-lite/releases{/id}","deployments_url":"https://api.github.com/repos/google/material-design-lite/deployments","created_at":"2015-01-14T22:01:33Z","updated_at":"2016-10-05T17:02:26Z","pushed_at":"2016-10-05T15:39:41Z","git_url":"git://github.com/google/material-design-lite.git","ssh_url":"git@github.com:google/material-design-lite.git","clone_url":"https://github.com/google/material-design-lite.git","svn_url":"https://github.com/google/material-design-lite","homepage":"http://getmdl.io","size":64187,"stargazers_count":23591,"watchers_count":23591,"language":"HTML","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":3917,"mirror_url":null,"open_issues_count":302,"forks":3917,"open_issues":302,"watchers":23591,"default_branch":"mdl-1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/4815"},"html":{"href":"https://github.com/google/material-design-lite/pull/4815"},"issue":{"href":"https://api.github.com/repos/google/material-design-lite/issues/4815"},"comments":{"href":"https://api.github.com/repos/google/material-design-lite/issues/4815/comments"},"review_comments":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/4815/comments"},"review_comment":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/material-design-lite/pulls/4815/commits"},"statuses":{"href":"https://api.github.com/repos/google/material-design-lite/statuses/2f8c15b3a3072872a5805ff7b7e89b4b62a8a576"}}}}
{"actor":{"display_login":"sgomes"}}