{"action":"created","comment":{"url":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/comments/136862337","pull_request_review_id":60459821,"id":136862337,"diff_hunk":"@@ -0,0 +1,75 @@\n+import styled from 'styled-components'\n+import { switchTransition } from 'utils/transitions'\n+\n+const getRadioBorder = (props, theme) => {\n+  if (props.checked) {\n+    return theme.color.primary\n+  } else if (props.disabled) {\n+    return theme.color.textLighter\n+  } return theme.color.misc\n+}\n+\n+const getRadioBackground = (props, theme) => {\n+  if (props.checked) {\n+    return theme.color.primary\n+  } else if (props.disabled) {\n+    return theme.color.textLightest\n+  } return theme.color.background\n+}\n+\n+export const RadioInput = styled.input`\n+  display: none;\n+`\n+\n+export const StyledRadio = styled.div`\n+  flex-shrink: 0;\n+  width: 18px;\n+  height: 18px;\n+  border-radius: 50%;\n+  display: flex;\n+  align-items: center;\n+  justify-content: center;\n+\n+  box-shadow: ${(props) => `inset 0 0 0 1px ${getRadioBorder(props, props.theme)}`};","path":"src/components/Radio/styled.js","position":33,"original_position":33,"commit_id":"0cd3fa95984bb329f1924ad5d74d0e7a9c59ae54","original_commit_id":"0cd3fa95984bb329f1924ad5d74d0e7a9c59ae54","user":{"login":"INesterov","id":14204802,"avatar_url":"https://avatars1.githubusercontent.com/u/14204802?v=4","gravatar_id":"","url":"https://api.github.com/users/INesterov","html_url":"https://github.com/INesterov","followers_url":"https://api.github.com/users/INesterov/followers","following_url":"https://api.github.com/users/INesterov/following{/other_user}","gists_url":"https://api.github.com/users/INesterov/gists{/gist_id}","starred_url":"https://api.github.com/users/INesterov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/INesterov/subscriptions","organizations_url":"https://api.github.com/users/INesterov/orgs","repos_url":"https://api.github.com/users/INesterov/repos","events_url":"https://api.github.com/users/INesterov/events{/privacy}","received_events_url":"https://api.github.com/users/INesterov/received_events","type":"User","site_admin":false},"body":"да точно","created_at":"2017-09-04T18:51:31Z","updated_at":"2017-09-04T18:51:31Z","html_url":"https://github.com/kupibilet-frontend/ui/pull/136#discussion_r136862337","pull_request_url":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/136","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/comments/136862337"},"html":{"href":"https://github.com/kupibilet-frontend/ui/pull/136#discussion_r136862337"},"pull_request":{"href":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/136"}},"in_reply_to_id":136851038},"pull_request":{"url":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/136","id":138856468,"html_url":"https://github.com/kupibilet-frontend/ui/pull/136","diff_url":"https://github.com/kupibilet-frontend/ui/pull/136.diff","patch_url":"https://github.com/kupibilet-frontend/ui/pull/136.patch","issue_url":"https://api.github.com/repos/kupibilet-frontend/ui/issues/136","number":136,"state":"closed","locked":false,"title":"Feature/radio","user":{"login":"INesterov","id":14204802,"avatar_url":"https://avatars1.githubusercontent.com/u/14204802?v=4","gravatar_id":"","url":"https://api.github.com/users/INesterov","html_url":"https://github.com/INesterov","followers_url":"https://api.github.com/users/INesterov/followers","following_url":"https://api.github.com/users/INesterov/following{/other_user}","gists_url":"https://api.github.com/users/INesterov/gists{/gist_id}","starred_url":"https://api.github.com/users/INesterov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/INesterov/subscriptions","organizations_url":"https://api.github.com/users/INesterov/orgs","repos_url":"https://api.github.com/users/INesterov/repos","events_url":"https://api.github.com/users/INesterov/events{/privacy}","received_events_url":"https://api.github.com/users/INesterov/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-01T10:01:41Z","updated_at":"2017-09-04T18:51:31Z","closed_at":"2017-09-02T14:03:43Z","merged_at":"2017-09-02T14:03:43Z","merge_commit_sha":"ba2a777bff9b386b6076ccf6746fa26f952ef126","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/136/commits","review_comments_url":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/136/comments","review_comment_url":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kupibilet-frontend/ui/issues/136/comments","statuses_url":"https://api.github.com/repos/kupibilet-frontend/ui/statuses/0cd3fa95984bb329f1924ad5d74d0e7a9c59ae54","head":{"label":"kupibilet-frontend:feature/radio","ref":"feature/radio","sha":"0cd3fa95984bb329f1924ad5d74d0e7a9c59ae54","user":{"login":"kupibilet-frontend","id":18614085,"avatar_url":"https://avatars1.githubusercontent.com/u/18614085?v=4","gravatar_id":"","url":"https://api.github.com/users/kupibilet-frontend","html_url":"https://github.com/kupibilet-frontend","followers_url":"https://api.github.com/users/kupibilet-frontend/followers","following_url":"https://api.github.com/users/kupibilet-frontend/following{/other_user}","gists_url":"https://api.github.com/users/kupibilet-frontend/gists{/gist_id}","starred_url":"https://api.github.com/users/kupibilet-frontend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kupibilet-frontend/subscriptions","organizations_url":"https://api.github.com/users/kupibilet-frontend/orgs","repos_url":"https://api.github.com/users/kupibilet-frontend/repos","events_url":"https://api.github.com/users/kupibilet-frontend/events{/privacy}","received_events_url":"https://api.github.com/users/kupibilet-frontend/received_events","type":"Organization","site_admin":false},"repo":{"id":85558471,"name":"ui","full_name":"kupibilet-frontend/ui","owner":{"login":"kupibilet-frontend","id":18614085,"avatar_url":"https://avatars1.githubusercontent.com/u/18614085?v=4","gravatar_id":"","url":"https://api.github.com/users/kupibilet-frontend","html_url":"https://github.com/kupibilet-frontend","followers_url":"https://api.github.com/users/kupibilet-frontend/followers","following_url":"https://api.github.com/users/kupibilet-frontend/following{/other_user}","gists_url":"https://api.github.com/users/kupibilet-frontend/gists{/gist_id}","starred_url":"https://api.github.com/users/kupibilet-frontend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kupibilet-frontend/subscriptions","organizations_url":"https://api.github.com/users/kupibilet-frontend/orgs","repos_url":"https://api.github.com/users/kupibilet-frontend/repos","events_url":"https://api.github.com/users/kupibilet-frontend/events{/privacy}","received_events_url":"https://api.github.com/users/kupibilet-frontend/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kupibilet-frontend/ui","description":null,"fork":false,"url":"https://api.github.com/repos/kupibilet-frontend/ui","forks_url":"https://api.github.com/repos/kupibilet-frontend/ui/forks","keys_url":"https://api.github.com/repos/kupibilet-frontend/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kupibilet-frontend/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kupibilet-frontend/ui/teams","hooks_url":"https://api.github.com/repos/kupibilet-frontend/ui/hooks","issue_events_url":"https://api.github.com/repos/kupibilet-frontend/ui/issues/events{/number}","events_url":"https://api.github.com/repos/kupibilet-frontend/ui/events","assignees_url":"https://api.github.com/repos/kupibilet-frontend/ui/assignees{/user}","branches_url":"https://api.github.com/repos/kupibilet-frontend/ui/branches{/branch}","tags_url":"https://api.github.com/repos/kupibilet-frontend/ui/tags","blobs_url":"https://api.github.com/repos/kupibilet-frontend/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kupibilet-frontend/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kupibilet-frontend/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/kupibilet-frontend/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kupibilet-frontend/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/kupibilet-frontend/ui/languages","stargazers_url":"https://api.github.com/repos/kupibilet-frontend/ui/stargazers","contributors_url":"https://api.github.com/repos/kupibilet-frontend/ui/contributors","subscribers_url":"https://api.github.com/repos/kupibilet-frontend/ui/subscribers","subscription_url":"https://api.github.com/repos/kupibilet-frontend/ui/subscription","commits_url":"https://api.github.com/repos/kupibilet-frontend/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/kupibilet-frontend/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/kupibilet-frontend/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/kupibilet-frontend/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/kupibilet-frontend/ui/contents/{+path}","compare_url":"https://api.github.com/repos/kupibilet-frontend/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kupibilet-frontend/ui/merges","archive_url":"https://api.github.com/repos/kupibilet-frontend/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kupibilet-frontend/ui/downloads","issues_url":"https://api.github.com/repos/kupibilet-frontend/ui/issues{/number}","pulls_url":"https://api.github.com/repos/kupibilet-frontend/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/kupibilet-frontend/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/kupibilet-frontend/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kupibilet-frontend/ui/labels{/name}","releases_url":"https://api.github.com/repos/kupibilet-frontend/ui/releases{/id}","deployments_url":"https://api.github.com/repos/kupibilet-frontend/ui/deployments","created_at":"2017-03-20T09:33:26Z","updated_at":"2017-07-07T14:32:43Z","pushed_at":"2017-09-04T18:33:02Z","git_url":"git://github.com/kupibilet-frontend/ui.git","ssh_url":"git@github.com:kupibilet-frontend/ui.git","clone_url":"https://github.com/kupibilet-frontend/ui.git","svn_url":"https://github.com/kupibilet-frontend/ui","homepage":"https://kupibilet-frontend.github.io/ui/","size":1594,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":20,"forks":1,"open_issues":20,"watchers":0,"default_branch":"master"}},"base":{"label":"kupibilet-frontend:master","ref":"master","sha":"a5a59ed46d6f9d6c91e4cee13d7b6b23a93e4a56","user":{"login":"kupibilet-frontend","id":18614085,"avatar_url":"https://avatars1.githubusercontent.com/u/18614085?v=4","gravatar_id":"","url":"https://api.github.com/users/kupibilet-frontend","html_url":"https://github.com/kupibilet-frontend","followers_url":"https://api.github.com/users/kupibilet-frontend/followers","following_url":"https://api.github.com/users/kupibilet-frontend/following{/other_user}","gists_url":"https://api.github.com/users/kupibilet-frontend/gists{/gist_id}","starred_url":"https://api.github.com/users/kupibilet-frontend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kupibilet-frontend/subscriptions","organizations_url":"https://api.github.com/users/kupibilet-frontend/orgs","repos_url":"https://api.github.com/users/kupibilet-frontend/repos","events_url":"https://api.github.com/users/kupibilet-frontend/events{/privacy}","received_events_url":"https://api.github.com/users/kupibilet-frontend/received_events","type":"Organization","site_admin":false},"repo":{"id":85558471,"name":"ui","full_name":"kupibilet-frontend/ui","owner":{"login":"kupibilet-frontend","id":18614085,"avatar_url":"https://avatars1.githubusercontent.com/u/18614085?v=4","gravatar_id":"","url":"https://api.github.com/users/kupibilet-frontend","html_url":"https://github.com/kupibilet-frontend","followers_url":"https://api.github.com/users/kupibilet-frontend/followers","following_url":"https://api.github.com/users/kupibilet-frontend/following{/other_user}","gists_url":"https://api.github.com/users/kupibilet-frontend/gists{/gist_id}","starred_url":"https://api.github.com/users/kupibilet-frontend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kupibilet-frontend/subscriptions","organizations_url":"https://api.github.com/users/kupibilet-frontend/orgs","repos_url":"https://api.github.com/users/kupibilet-frontend/repos","events_url":"https://api.github.com/users/kupibilet-frontend/events{/privacy}","received_events_url":"https://api.github.com/users/kupibilet-frontend/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kupibilet-frontend/ui","description":null,"fork":false,"url":"https://api.github.com/repos/kupibilet-frontend/ui","forks_url":"https://api.github.com/repos/kupibilet-frontend/ui/forks","keys_url":"https://api.github.com/repos/kupibilet-frontend/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kupibilet-frontend/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kupibilet-frontend/ui/teams","hooks_url":"https://api.github.com/repos/kupibilet-frontend/ui/hooks","issue_events_url":"https://api.github.com/repos/kupibilet-frontend/ui/issues/events{/number}","events_url":"https://api.github.com/repos/kupibilet-frontend/ui/events","assignees_url":"https://api.github.com/repos/kupibilet-frontend/ui/assignees{/user}","branches_url":"https://api.github.com/repos/kupibilet-frontend/ui/branches{/branch}","tags_url":"https://api.github.com/repos/kupibilet-frontend/ui/tags","blobs_url":"https://api.github.com/repos/kupibilet-frontend/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kupibilet-frontend/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kupibilet-frontend/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/kupibilet-frontend/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kupibilet-frontend/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/kupibilet-frontend/ui/languages","stargazers_url":"https://api.github.com/repos/kupibilet-frontend/ui/stargazers","contributors_url":"https://api.github.com/repos/kupibilet-frontend/ui/contributors","subscribers_url":"https://api.github.com/repos/kupibilet-frontend/ui/subscribers","subscription_url":"https://api.github.com/repos/kupibilet-frontend/ui/subscription","commits_url":"https://api.github.com/repos/kupibilet-frontend/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/kupibilet-frontend/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/kupibilet-frontend/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/kupibilet-frontend/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/kupibilet-frontend/ui/contents/{+path}","compare_url":"https://api.github.com/repos/kupibilet-frontend/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kupibilet-frontend/ui/merges","archive_url":"https://api.github.com/repos/kupibilet-frontend/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kupibilet-frontend/ui/downloads","issues_url":"https://api.github.com/repos/kupibilet-frontend/ui/issues{/number}","pulls_url":"https://api.github.com/repos/kupibilet-frontend/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/kupibilet-frontend/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/kupibilet-frontend/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kupibilet-frontend/ui/labels{/name}","releases_url":"https://api.github.com/repos/kupibilet-frontend/ui/releases{/id}","deployments_url":"https://api.github.com/repos/kupibilet-frontend/ui/deployments","created_at":"2017-03-20T09:33:26Z","updated_at":"2017-07-07T14:32:43Z","pushed_at":"2017-09-04T18:33:02Z","git_url":"git://github.com/kupibilet-frontend/ui.git","ssh_url":"git@github.com:kupibilet-frontend/ui.git","clone_url":"https://github.com/kupibilet-frontend/ui.git","svn_url":"https://github.com/kupibilet-frontend/ui","homepage":"https://kupibilet-frontend.github.io/ui/","size":1594,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":20,"forks":1,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/136"},"html":{"href":"https://github.com/kupibilet-frontend/ui/pull/136"},"issue":{"href":"https://api.github.com/repos/kupibilet-frontend/ui/issues/136"},"comments":{"href":"https://api.github.com/repos/kupibilet-frontend/ui/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kupibilet-frontend/ui/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/kupibilet-frontend/ui/statuses/0cd3fa95984bb329f1924ad5d74d0e7a9c59ae54"}},"author_association":"NONE"}}
{"actor":{"display_login":"INesterov"}}