{"action":"created","comment":{"url":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/comments/111333980","pull_request_review_id":32571059,"id":111333980,"diff_hunk":"@@ -0,0 +1,78 @@\n+import { h } from \"preact\";\n+import MaterialComponent from \"../MaterialComponent\";\n+\n+class LayoutGrid extends MaterialComponent {\n+\tconstructor() {\n+\t\tsuper();\n+\t\tthis.componentName = \"layout-grid\";\n+\t}\n+\tmaterialDom(props) {\n+\t\treturn (\n+\t\t\t<div className=\"mdc-layout-grid\" ref={control=>{this.control = control;}} {...props}>\n+\t\t\t\t{props.children}\n+\t\t\t</div>\n+\t\t);\n+\t}\n+}\n+\n+\n+/**\n+ * @prop columns = 0\n+ * @prop desktop = 0\n+ * @prop tablet = 0\n+ * @prop phone = 0\n+ * @prop order = 0\n+ * @prop align = ''\n+ */\n+class LayoutGridCell extends MaterialComponent {\n+\tconstructor() {\n+\t\tsuper();\n+\t\tthis.componentName = \"layout-grid__cell\";\n+\t}\n+\tcreateClassName(props) {\n+\t\tconst baseClass = \"mdc-layout-grid__cell--\";\n+\t\tconst classes = [];\n+\n+\t\tif (props.columns) {\n+\t\t\tclasses.push(baseClass + \"span-\" + props.columns) ;\n+\t\t}\n+\n+\t\tif (props.desktop) {","path":"LayoutGrid/LayoutGrid.jsx","position":40,"original_position":40,"commit_id":"658c20fe3db86f1344a2ca59424a381c5535f286","original_commit_id":"658c20fe3db86f1344a2ca59424a381c5535f286","user":{"login":"prateekbh","id":5960497,"avatar_url":"https://avatars1.githubusercontent.com/u/5960497?v=3","gravatar_id":"","url":"https://api.github.com/users/prateekbh","html_url":"https://github.com/prateekbh","followers_url":"https://api.github.com/users/prateekbh/followers","following_url":"https://api.github.com/users/prateekbh/following{/other_user}","gists_url":"https://api.github.com/users/prateekbh/gists{/gist_id}","starred_url":"https://api.github.com/users/prateekbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prateekbh/subscriptions","organizations_url":"https://api.github.com/users/prateekbh/orgs","repos_url":"https://api.github.com/users/prateekbh/repos","events_url":"https://api.github.com/users/prateekbh/events{/privacy}","received_events_url":"https://api.github.com/users/prateekbh/received_events","type":"User","site_admin":false},"body":"shall we move desktop, tablet, phone to a friendlier prop name?\r\ndesktopSpan, mobileSpan, tabletSpan may be?","created_at":"2017-04-13T08:18:01Z","updated_at":"2017-04-13T08:18:01Z","html_url":"https://github.com/prateekbh/preact-material-components/pull/71#discussion_r111333980","pull_request_url":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/comments/111333980"},"html":{"href":"https://github.com/prateekbh/preact-material-components/pull/71#discussion_r111333980"},"pull_request":{"href":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/71","id":115594385,"html_url":"https://github.com/prateekbh/preact-material-components/pull/71","diff_url":"https://github.com/prateekbh/preact-material-components/pull/71.diff","patch_url":"https://github.com/prateekbh/preact-material-components/pull/71.patch","issue_url":"https://api.github.com/repos/prateekbh/preact-material-components/issues/71","number":71,"state":"open","locked":false,"title":"Adds LayoutGrid to the available components","user":{"login":"IrregularShed","id":190127,"avatar_url":"https://avatars2.githubusercontent.com/u/190127?v=3","gravatar_id":"","url":"https://api.github.com/users/IrregularShed","html_url":"https://github.com/IrregularShed","followers_url":"https://api.github.com/users/IrregularShed/followers","following_url":"https://api.github.com/users/IrregularShed/following{/other_user}","gists_url":"https://api.github.com/users/IrregularShed/gists{/gist_id}","starred_url":"https://api.github.com/users/IrregularShed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IrregularShed/subscriptions","organizations_url":"https://api.github.com/users/IrregularShed/orgs","repos_url":"https://api.github.com/users/IrregularShed/repos","events_url":"https://api.github.com/users/IrregularShed/events{/privacy}","received_events_url":"https://api.github.com/users/IrregularShed/received_events","type":"User","site_admin":false},"body":"* Adds LayoutGrid and LayoutGrid.Cell\r\n* LayoutGrid.Cell can have values assigned for spans (all supported\r\n  versions), column order and alignment\r\n* `package.json` scripts adjusted to be Windows-friendly\r\n* Tweaks to sample app to include the grid and correct existing typo","created_at":"2017-04-12T17:26:12Z","updated_at":"2017-04-13T08:18:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ba0f6044a36b6ca500ea38e84ad84796fe3cd5b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/71/commits","review_comments_url":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/71/comments","review_comment_url":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prateekbh/preact-material-components/issues/71/comments","statuses_url":"https://api.github.com/repos/prateekbh/preact-material-components/statuses/658c20fe3db86f1344a2ca59424a381c5535f286","head":{"label":"IrregularShed:add-layout-grid","ref":"add-layout-grid","sha":"658c20fe3db86f1344a2ca59424a381c5535f286","user":{"login":"IrregularShed","id":190127,"avatar_url":"https://avatars2.githubusercontent.com/u/190127?v=3","gravatar_id":"","url":"https://api.github.com/users/IrregularShed","html_url":"https://github.com/IrregularShed","followers_url":"https://api.github.com/users/IrregularShed/followers","following_url":"https://api.github.com/users/IrregularShed/following{/other_user}","gists_url":"https://api.github.com/users/IrregularShed/gists{/gist_id}","starred_url":"https://api.github.com/users/IrregularShed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IrregularShed/subscriptions","organizations_url":"https://api.github.com/users/IrregularShed/orgs","repos_url":"https://api.github.com/users/IrregularShed/repos","events_url":"https://api.github.com/users/IrregularShed/events{/privacy}","received_events_url":"https://api.github.com/users/IrregularShed/received_events","type":"User","site_admin":false},"repo":{"id":88040996,"name":"preact-material-components","full_name":"IrregularShed/preact-material-components","owner":{"login":"IrregularShed","id":190127,"avatar_url":"https://avatars2.githubusercontent.com/u/190127?v=3","gravatar_id":"","url":"https://api.github.com/users/IrregularShed","html_url":"https://github.com/IrregularShed","followers_url":"https://api.github.com/users/IrregularShed/followers","following_url":"https://api.github.com/users/IrregularShed/following{/other_user}","gists_url":"https://api.github.com/users/IrregularShed/gists{/gist_id}","starred_url":"https://api.github.com/users/IrregularShed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IrregularShed/subscriptions","organizations_url":"https://api.github.com/users/IrregularShed/orgs","repos_url":"https://api.github.com/users/IrregularShed/repos","events_url":"https://api.github.com/users/IrregularShed/events{/privacy}","received_events_url":"https://api.github.com/users/IrregularShed/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IrregularShed/preact-material-components","description":"preact wrapper for \"Material Components for the web\"","fork":true,"url":"https://api.github.com/repos/IrregularShed/preact-material-components","forks_url":"https://api.github.com/repos/IrregularShed/preact-material-components/forks","keys_url":"https://api.github.com/repos/IrregularShed/preact-material-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IrregularShed/preact-material-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IrregularShed/preact-material-components/teams","hooks_url":"https://api.github.com/repos/IrregularShed/preact-material-components/hooks","issue_events_url":"https://api.github.com/repos/IrregularShed/preact-material-components/issues/events{/number}","events_url":"https://api.github.com/repos/IrregularShed/preact-material-components/events","assignees_url":"https://api.github.com/repos/IrregularShed/preact-material-components/assignees{/user}","branches_url":"https://api.github.com/repos/IrregularShed/preact-material-components/branches{/branch}","tags_url":"https://api.github.com/repos/IrregularShed/preact-material-components/tags","blobs_url":"https://api.github.com/repos/IrregularShed/preact-material-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IrregularShed/preact-material-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IrregularShed/preact-material-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/IrregularShed/preact-material-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IrregularShed/preact-material-components/statuses/{sha}","languages_url":"https://api.github.com/repos/IrregularShed/preact-material-components/languages","stargazers_url":"https://api.github.com/repos/IrregularShed/preact-material-components/stargazers","contributors_url":"https://api.github.com/repos/IrregularShed/preact-material-components/contributors","subscribers_url":"https://api.github.com/repos/IrregularShed/preact-material-components/subscribers","subscription_url":"https://api.github.com/repos/IrregularShed/preact-material-components/subscription","commits_url":"https://api.github.com/repos/IrregularShed/preact-material-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/IrregularShed/preact-material-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/IrregularShed/preact-material-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/IrregularShed/preact-material-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/IrregularShed/preact-material-components/contents/{+path}","compare_url":"https://api.github.com/repos/IrregularShed/preact-material-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IrregularShed/preact-material-components/merges","archive_url":"https://api.github.com/repos/IrregularShed/preact-material-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IrregularShed/preact-material-components/downloads","issues_url":"https://api.github.com/repos/IrregularShed/preact-material-components/issues{/number}","pulls_url":"https://api.github.com/repos/IrregularShed/preact-material-components/pulls{/number}","milestones_url":"https://api.github.com/repos/IrregularShed/preact-material-components/milestones{/number}","notifications_url":"https://api.github.com/repos/IrregularShed/preact-material-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IrregularShed/preact-material-components/labels{/name}","releases_url":"https://api.github.com/repos/IrregularShed/preact-material-components/releases{/id}","deployments_url":"https://api.github.com/repos/IrregularShed/preact-material-components/deployments","created_at":"2017-04-12T10:45:02Z","updated_at":"2017-04-12T10:45:03Z","pushed_at":"2017-04-12T17:24:51Z","git_url":"git://github.com/IrregularShed/preact-material-components.git","ssh_url":"git@github.com:IrregularShed/preact-material-components.git","clone_url":"https://github.com/IrregularShed/preact-material-components.git","svn_url":"https://github.com/IrregularShed/preact-material-components","homepage":"https://prateekbh.github.io/preact-material-components/","size":814,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prateekbh:master","ref":"master","sha":"68cd20c5edea8a1e6d8ae128f98291ba7f908589","user":{"login":"prateekbh","id":5960497,"avatar_url":"https://avatars1.githubusercontent.com/u/5960497?v=3","gravatar_id":"","url":"https://api.github.com/users/prateekbh","html_url":"https://github.com/prateekbh","followers_url":"https://api.github.com/users/prateekbh/followers","following_url":"https://api.github.com/users/prateekbh/following{/other_user}","gists_url":"https://api.github.com/users/prateekbh/gists{/gist_id}","starred_url":"https://api.github.com/users/prateekbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prateekbh/subscriptions","organizations_url":"https://api.github.com/users/prateekbh/orgs","repos_url":"https://api.github.com/users/prateekbh/repos","events_url":"https://api.github.com/users/prateekbh/events{/privacy}","received_events_url":"https://api.github.com/users/prateekbh/received_events","type":"User","site_admin":false},"repo":{"id":82581631,"name":"preact-material-components","full_name":"prateekbh/preact-material-components","owner":{"login":"prateekbh","id":5960497,"avatar_url":"https://avatars1.githubusercontent.com/u/5960497?v=3","gravatar_id":"","url":"https://api.github.com/users/prateekbh","html_url":"https://github.com/prateekbh","followers_url":"https://api.github.com/users/prateekbh/followers","following_url":"https://api.github.com/users/prateekbh/following{/other_user}","gists_url":"https://api.github.com/users/prateekbh/gists{/gist_id}","starred_url":"https://api.github.com/users/prateekbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prateekbh/subscriptions","organizations_url":"https://api.github.com/users/prateekbh/orgs","repos_url":"https://api.github.com/users/prateekbh/repos","events_url":"https://api.github.com/users/prateekbh/events{/privacy}","received_events_url":"https://api.github.com/users/prateekbh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prateekbh/preact-material-components","description":"preact wrapper for \"Material Components for the web\"","fork":false,"url":"https://api.github.com/repos/prateekbh/preact-material-components","forks_url":"https://api.github.com/repos/prateekbh/preact-material-components/forks","keys_url":"https://api.github.com/repos/prateekbh/preact-material-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prateekbh/preact-material-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prateekbh/preact-material-components/teams","hooks_url":"https://api.github.com/repos/prateekbh/preact-material-components/hooks","issue_events_url":"https://api.github.com/repos/prateekbh/preact-material-components/issues/events{/number}","events_url":"https://api.github.com/repos/prateekbh/preact-material-components/events","assignees_url":"https://api.github.com/repos/prateekbh/preact-material-components/assignees{/user}","branches_url":"https://api.github.com/repos/prateekbh/preact-material-components/branches{/branch}","tags_url":"https://api.github.com/repos/prateekbh/preact-material-components/tags","blobs_url":"https://api.github.com/repos/prateekbh/preact-material-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prateekbh/preact-material-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prateekbh/preact-material-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/prateekbh/preact-material-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prateekbh/preact-material-components/statuses/{sha}","languages_url":"https://api.github.com/repos/prateekbh/preact-material-components/languages","stargazers_url":"https://api.github.com/repos/prateekbh/preact-material-components/stargazers","contributors_url":"https://api.github.com/repos/prateekbh/preact-material-components/contributors","subscribers_url":"https://api.github.com/repos/prateekbh/preact-material-components/subscribers","subscription_url":"https://api.github.com/repos/prateekbh/preact-material-components/subscription","commits_url":"https://api.github.com/repos/prateekbh/preact-material-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/prateekbh/preact-material-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/prateekbh/preact-material-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/prateekbh/preact-material-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/prateekbh/preact-material-components/contents/{+path}","compare_url":"https://api.github.com/repos/prateekbh/preact-material-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prateekbh/preact-material-components/merges","archive_url":"https://api.github.com/repos/prateekbh/preact-material-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prateekbh/preact-material-components/downloads","issues_url":"https://api.github.com/repos/prateekbh/preact-material-components/issues{/number}","pulls_url":"https://api.github.com/repos/prateekbh/preact-material-components/pulls{/number}","milestones_url":"https://api.github.com/repos/prateekbh/preact-material-components/milestones{/number}","notifications_url":"https://api.github.com/repos/prateekbh/preact-material-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prateekbh/preact-material-components/labels{/name}","releases_url":"https://api.github.com/repos/prateekbh/preact-material-components/releases{/id}","deployments_url":"https://api.github.com/repos/prateekbh/preact-material-components/deployments","created_at":"2017-02-20T17:01:45Z","updated_at":"2017-04-13T06:55:26Z","pushed_at":"2017-04-12T17:26:13Z","git_url":"git://github.com/prateekbh/preact-material-components.git","ssh_url":"git@github.com:prateekbh/preact-material-components.git","clone_url":"https://github.com/prateekbh/preact-material-components.git","svn_url":"https://github.com/prateekbh/preact-material-components","homepage":"https://prateekbh.github.io/preact-material-components/","size":812,"stargazers_count":56,"watchers_count":56,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":10,"forks":3,"open_issues":10,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/71"},"html":{"href":"https://github.com/prateekbh/preact-material-components/pull/71"},"issue":{"href":"https://api.github.com/repos/prateekbh/preact-material-components/issues/71"},"comments":{"href":"https://api.github.com/repos/prateekbh/preact-material-components/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prateekbh/preact-material-components/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/prateekbh/preact-material-components/statuses/658c20fe3db86f1344a2ca59424a381c5535f286"}}}}
{"actor":{"display_login":"prateekbh"}}