{"action":"created","comment":{"url":"https://api.github.com/repos/sumup/circuit-ui/pulls/comments/187016440","pull_request_review_id":118709556,"id":187016440,"diff_hunk":"@@ -1,10 +1,25 @@\n import React, { Children } from 'react';\n+import PropTypes from 'prop-types';\n import styled, { css } from 'react-emotion';\n \n import Button from '../Button';\n import { childrenPropType } from '../../util/shared-prop-types';\n+import { isEqual } from '../../util/fp';\n \n-const listStyles = ({ theme }) => css`\n+const LEFT = 'left';\n+const RIGHT = 'right';\n+const ALIGMENT_TYPES = [LEFT, RIGHT];\n+\n+const isRight = isEqual(RIGHT);\n+\n+const alignmentStyles = ({ align }) =>\n+  isRight(align) &&\n+  css`\n+    label: button-group--left;","path":"src/components/ButtonGroup/ButtonGroup.js","position":null,"original_position":19,"commit_id":"e906110a76bc6b15e331075f4b092cea06c18cbd","original_commit_id":"ff2c63dcfe480653e0d98dabad14e9c98450d407","user":{"login":"fernandofleury","id":2780941,"avatar_url":"https://avatars2.githubusercontent.com/u/2780941?v=4","gravatar_id":"","url":"https://api.github.com/users/fernandofleury","html_url":"https://github.com/fernandofleury","followers_url":"https://api.github.com/users/fernandofleury/followers","following_url":"https://api.github.com/users/fernandofleury/following{/other_user}","gists_url":"https://api.github.com/users/fernandofleury/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandofleury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandofleury/subscriptions","organizations_url":"https://api.github.com/users/fernandofleury/orgs","repos_url":"https://api.github.com/users/fernandofleury/repos","events_url":"https://api.github.com/users/fernandofleury/events{/privacy}","received_events_url":"https://api.github.com/users/fernandofleury/received_events","type":"User","site_admin":false},"body":"It should be --right indeed.","created_at":"2018-05-09T12:01:54Z","updated_at":"2018-05-09T12:01:54Z","html_url":"https://github.com/sumup/circuit-ui/pull/160#discussion_r187016440","pull_request_url":"https://api.github.com/repos/sumup/circuit-ui/pulls/160","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/comments/187016440"},"html":{"href":"https://github.com/sumup/circuit-ui/pull/160#discussion_r187016440"},"pull_request":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/160"}},"in_reply_to_id":186980747},"pull_request":{"url":"https://api.github.com/repos/sumup/circuit-ui/pulls/160","id":186353684,"html_url":"https://github.com/sumup/circuit-ui/pull/160","diff_url":"https://github.com/sumup/circuit-ui/pull/160.diff","patch_url":"https://github.com/sumup/circuit-ui/pull/160.patch","issue_url":"https://api.github.com/repos/sumup/circuit-ui/issues/160","number":160,"state":"open","locked":false,"title":"Support Page integration with Circuit-UI","user":{"login":"fernandofleury","id":2780941,"avatar_url":"https://avatars2.githubusercontent.com/u/2780941?v=4","gravatar_id":"","url":"https://api.github.com/users/fernandofleury","html_url":"https://github.com/fernandofleury","followers_url":"https://api.github.com/users/fernandofleury/followers","following_url":"https://api.github.com/users/fernandofleury/following{/other_user}","gists_url":"https://api.github.com/users/fernandofleury/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandofleury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandofleury/subscriptions","organizations_url":"https://api.github.com/users/fernandofleury/orgs","repos_url":"https://api.github.com/users/fernandofleury/repos","events_url":"https://api.github.com/users/fernandofleury/events{/privacy}","received_events_url":"https://api.github.com/users/fernandofleury/received_events","type":"User","site_admin":false},"body":"This PR introduces a couple of layout changes in order to enable our components to play nice with our grid system.\r\n\r\nChanges:\r\n\r\n- Add `Spacing` component\r\n- Remove `min-width` from `Card` component (Needs to be tested)\r\n- Add alignment options to `CardFooter` and `ButtonGroup`\r\n","created_at":"2018-05-07T13:36:09Z","updated_at":"2018-05-09T12:01:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fd5ac1347dbd879edab56c41a5168b1bd76304d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"felixjung","id":265947,"avatar_url":"https://avatars1.githubusercontent.com/u/265947?v=4","gravatar_id":"","url":"https://api.github.com/users/felixjung","html_url":"https://github.com/felixjung","followers_url":"https://api.github.com/users/felixjung/followers","following_url":"https://api.github.com/users/felixjung/following{/other_user}","gists_url":"https://api.github.com/users/felixjung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixjung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixjung/subscriptions","organizations_url":"https://api.github.com/users/felixjung/orgs","repos_url":"https://api.github.com/users/felixjung/repos","events_url":"https://api.github.com/users/felixjung/events{/privacy}","received_events_url":"https://api.github.com/users/felixjung/received_events","type":"User","site_admin":false},{"login":"elanoism","id":2035446,"avatar_url":"https://avatars2.githubusercontent.com/u/2035446?v=4","gravatar_id":"","url":"https://api.github.com/users/elanoism","html_url":"https://github.com/elanoism","followers_url":"https://api.github.com/users/elanoism/followers","following_url":"https://api.github.com/users/elanoism/following{/other_user}","gists_url":"https://api.github.com/users/elanoism/gists{/gist_id}","starred_url":"https://api.github.com/users/elanoism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elanoism/subscriptions","organizations_url":"https://api.github.com/users/elanoism/orgs","repos_url":"https://api.github.com/users/elanoism/repos","events_url":"https://api.github.com/users/elanoism/events{/privacy}","received_events_url":"https://api.github.com/users/elanoism/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":922895694,"url":"https://api.github.com/repos/sumup/circuit-ui/labels/ready%20for%20review","name":"ready for review","color":"21a5a5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/sumup/circuit-ui/pulls/160/commits","review_comments_url":"https://api.github.com/repos/sumup/circuit-ui/pulls/160/comments","review_comment_url":"https://api.github.com/repos/sumup/circuit-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sumup/circuit-ui/issues/160/comments","statuses_url":"https://api.github.com/repos/sumup/circuit-ui/statuses/e906110a76bc6b15e331075f4b092cea06c18cbd","head":{"label":"sumup:feat/support-page-circuit-ui","ref":"feat/support-page-circuit-ui","sha":"e906110a76bc6b15e331075f4b092cea06c18cbd","user":{"login":"sumup","id":1194464,"avatar_url":"https://avatars2.githubusercontent.com/u/1194464?v=4","gravatar_id":"","url":"https://api.github.com/users/sumup","html_url":"https://github.com/sumup","followers_url":"https://api.github.com/users/sumup/followers","following_url":"https://api.github.com/users/sumup/following{/other_user}","gists_url":"https://api.github.com/users/sumup/gists{/gist_id}","starred_url":"https://api.github.com/users/sumup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumup/subscriptions","organizations_url":"https://api.github.com/users/sumup/orgs","repos_url":"https://api.github.com/users/sumup/repos","events_url":"https://api.github.com/users/sumup/events{/privacy}","received_events_url":"https://api.github.com/users/sumup/received_events","type":"Organization","site_admin":false},"repo":{"id":95433249,"name":"circuit-ui","full_name":"sumup/circuit-ui","owner":{"login":"sumup","id":1194464,"avatar_url":"https://avatars2.githubusercontent.com/u/1194464?v=4","gravatar_id":"","url":"https://api.github.com/users/sumup","html_url":"https://github.com/sumup","followers_url":"https://api.github.com/users/sumup/followers","following_url":"https://api.github.com/users/sumup/following{/other_user}","gists_url":"https://api.github.com/users/sumup/gists{/gist_id}","starred_url":"https://api.github.com/users/sumup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumup/subscriptions","organizations_url":"https://api.github.com/users/sumup/orgs","repos_url":"https://api.github.com/users/sumup/repos","events_url":"https://api.github.com/users/sumup/events{/privacy}","received_events_url":"https://api.github.com/users/sumup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sumup/circuit-ui","description":"React component library for sumup web apps","fork":false,"url":"https://api.github.com/repos/sumup/circuit-ui","forks_url":"https://api.github.com/repos/sumup/circuit-ui/forks","keys_url":"https://api.github.com/repos/sumup/circuit-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumup/circuit-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumup/circuit-ui/teams","hooks_url":"https://api.github.com/repos/sumup/circuit-ui/hooks","issue_events_url":"https://api.github.com/repos/sumup/circuit-ui/issues/events{/number}","events_url":"https://api.github.com/repos/sumup/circuit-ui/events","assignees_url":"https://api.github.com/repos/sumup/circuit-ui/assignees{/user}","branches_url":"https://api.github.com/repos/sumup/circuit-ui/branches{/branch}","tags_url":"https://api.github.com/repos/sumup/circuit-ui/tags","blobs_url":"https://api.github.com/repos/sumup/circuit-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumup/circuit-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumup/circuit-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumup/circuit-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumup/circuit-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/sumup/circuit-ui/languages","stargazers_url":"https://api.github.com/repos/sumup/circuit-ui/stargazers","contributors_url":"https://api.github.com/repos/sumup/circuit-ui/contributors","subscribers_url":"https://api.github.com/repos/sumup/circuit-ui/subscribers","subscription_url":"https://api.github.com/repos/sumup/circuit-ui/subscription","commits_url":"https://api.github.com/repos/sumup/circuit-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumup/circuit-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumup/circuit-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumup/circuit-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumup/circuit-ui/contents/{+path}","compare_url":"https://api.github.com/repos/sumup/circuit-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumup/circuit-ui/merges","archive_url":"https://api.github.com/repos/sumup/circuit-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumup/circuit-ui/downloads","issues_url":"https://api.github.com/repos/sumup/circuit-ui/issues{/number}","pulls_url":"https://api.github.com/repos/sumup/circuit-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/sumup/circuit-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/sumup/circuit-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumup/circuit-ui/labels{/name}","releases_url":"https://api.github.com/repos/sumup/circuit-ui/releases{/id}","deployments_url":"https://api.github.com/repos/sumup/circuit-ui/deployments","created_at":"2017-06-26T09:57:50Z","updated_at":"2018-05-09T09:20:33Z","pushed_at":"2018-05-09T09:38:33Z","git_url":"git://github.com/sumup/circuit-ui.git","ssh_url":"git@github.com:sumup/circuit-ui.git","clone_url":"https://github.com/sumup/circuit-ui.git","svn_url":"https://github.com/sumup/circuit-ui","homepage":"https://sumup.github.io/circuit-ui","size":6017,"stargazers_count":31,"watchers_count":31,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":31,"license":null,"forks":5,"open_issues":31,"watchers":31,"default_branch":"master"}},"base":{"label":"sumup:master","ref":"master","sha":"c0561d10c57ccb7a7c8825b7aef675eb5e72fead","user":{"login":"sumup","id":1194464,"avatar_url":"https://avatars2.githubusercontent.com/u/1194464?v=4","gravatar_id":"","url":"https://api.github.com/users/sumup","html_url":"https://github.com/sumup","followers_url":"https://api.github.com/users/sumup/followers","following_url":"https://api.github.com/users/sumup/following{/other_user}","gists_url":"https://api.github.com/users/sumup/gists{/gist_id}","starred_url":"https://api.github.com/users/sumup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumup/subscriptions","organizations_url":"https://api.github.com/users/sumup/orgs","repos_url":"https://api.github.com/users/sumup/repos","events_url":"https://api.github.com/users/sumup/events{/privacy}","received_events_url":"https://api.github.com/users/sumup/received_events","type":"Organization","site_admin":false},"repo":{"id":95433249,"name":"circuit-ui","full_name":"sumup/circuit-ui","owner":{"login":"sumup","id":1194464,"avatar_url":"https://avatars2.githubusercontent.com/u/1194464?v=4","gravatar_id":"","url":"https://api.github.com/users/sumup","html_url":"https://github.com/sumup","followers_url":"https://api.github.com/users/sumup/followers","following_url":"https://api.github.com/users/sumup/following{/other_user}","gists_url":"https://api.github.com/users/sumup/gists{/gist_id}","starred_url":"https://api.github.com/users/sumup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumup/subscriptions","organizations_url":"https://api.github.com/users/sumup/orgs","repos_url":"https://api.github.com/users/sumup/repos","events_url":"https://api.github.com/users/sumup/events{/privacy}","received_events_url":"https://api.github.com/users/sumup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sumup/circuit-ui","description":"React component library for sumup web apps","fork":false,"url":"https://api.github.com/repos/sumup/circuit-ui","forks_url":"https://api.github.com/repos/sumup/circuit-ui/forks","keys_url":"https://api.github.com/repos/sumup/circuit-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumup/circuit-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumup/circuit-ui/teams","hooks_url":"https://api.github.com/repos/sumup/circuit-ui/hooks","issue_events_url":"https://api.github.com/repos/sumup/circuit-ui/issues/events{/number}","events_url":"https://api.github.com/repos/sumup/circuit-ui/events","assignees_url":"https://api.github.com/repos/sumup/circuit-ui/assignees{/user}","branches_url":"https://api.github.com/repos/sumup/circuit-ui/branches{/branch}","tags_url":"https://api.github.com/repos/sumup/circuit-ui/tags","blobs_url":"https://api.github.com/repos/sumup/circuit-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumup/circuit-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumup/circuit-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumup/circuit-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumup/circuit-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/sumup/circuit-ui/languages","stargazers_url":"https://api.github.com/repos/sumup/circuit-ui/stargazers","contributors_url":"https://api.github.com/repos/sumup/circuit-ui/contributors","subscribers_url":"https://api.github.com/repos/sumup/circuit-ui/subscribers","subscription_url":"https://api.github.com/repos/sumup/circuit-ui/subscription","commits_url":"https://api.github.com/repos/sumup/circuit-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumup/circuit-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumup/circuit-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumup/circuit-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumup/circuit-ui/contents/{+path}","compare_url":"https://api.github.com/repos/sumup/circuit-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumup/circuit-ui/merges","archive_url":"https://api.github.com/repos/sumup/circuit-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumup/circuit-ui/downloads","issues_url":"https://api.github.com/repos/sumup/circuit-ui/issues{/number}","pulls_url":"https://api.github.com/repos/sumup/circuit-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/sumup/circuit-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/sumup/circuit-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumup/circuit-ui/labels{/name}","releases_url":"https://api.github.com/repos/sumup/circuit-ui/releases{/id}","deployments_url":"https://api.github.com/repos/sumup/circuit-ui/deployments","created_at":"2017-06-26T09:57:50Z","updated_at":"2018-05-09T09:20:33Z","pushed_at":"2018-05-09T09:38:33Z","git_url":"git://github.com/sumup/circuit-ui.git","ssh_url":"git@github.com:sumup/circuit-ui.git","clone_url":"https://github.com/sumup/circuit-ui.git","svn_url":"https://github.com/sumup/circuit-ui","homepage":"https://sumup.github.io/circuit-ui","size":6017,"stargazers_count":31,"watchers_count":31,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":31,"license":null,"forks":5,"open_issues":31,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/160"},"html":{"href":"https://github.com/sumup/circuit-ui/pull/160"},"issue":{"href":"https://api.github.com/repos/sumup/circuit-ui/issues/160"},"comments":{"href":"https://api.github.com/repos/sumup/circuit-ui/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sumup/circuit-ui/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/sumup/circuit-ui/statuses/e906110a76bc6b15e331075f4b092cea06c18cbd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"fernandofleury"}}