{"action":"created","comment":{"url":"https://api.github.com/repos/wix/wix-ui/pulls/comments/158252785","pull_request_review_id":85032594,"id":158252785,"diff_hunk":"@@ -1,35 +1,38 @@\n import {palette} from '../../palette';\n \n-export type ToggleSwitchTheme = {\n-  rootWidth?: string;\n-  rootHeight?: string;\n-\n-  transitionSpeed?: string;\n-  borderRadius?: string;\n-  labelMovementRange?: string;\n-\n-  outerLabelWidth?: string;\n-  outerLabelHeight?: string;\n-\n-  innerLabelWidth?: string;\n-  innerLabelHeight?: string;\n-  innerLabelBackgroundColor?: string;\n-\n-  backgroundColor?: string;\n-  backgroundColorChecked?: string;\n-  backgroundColorDisabled?: string;\n-  backgroundColorHover?: string;\n-\n-  color?: string;\n-  colorChecked?: string;\n-  colorDisabled?: string;\n-  colorCheckedDisabled?: string;\n-  colorHover?: string;\n-\n-  toggleIconWidth?: string;\n-  toggleIconHeight?: string;\n-  toggleIconDisplay?: string;\n-};\n+export type ToggleSwitchTheme = Partial<{\n+  rootWidth: string;\n+  rootHeight: string;\n+\n+  transitionSpeed: string;\n+  borderRadius: string;\n+  labelMovementRange: string;\n+\n+  outerLabelWidth: string;\n+  outerLabelHeight: string;\n+\n+  innerLabelWidth: string;\n+  innerLabelHeight: string;\n+  innerLabelBackgroundColor: string;\n+\n+  backgroundColor: string;\n+  backgroundColorChecked: string;\n+  backgroundColorDisabled: string;\n+  backgroundColorHover: string;\n+\n+  color: string;\n+  colorChecked: string;\n+  colorDisabled: string;\n+  colorCheckedDisabled: string;\n+  colorHover: string;\n+\n+  toggleIconWidth: string;\n+  toggleIconHeight: string;\n+  toggleIconDisplay: string;\n+\n+  childrenColor: string;","path":"packages/wix-ui-core/src/components/ToggleSwitch/theme.ts","position":63,"original_position":63,"commit_id":"1f86729bc8792c0ffa4206dddef830423a958fff","original_commit_id":"1f86729bc8792c0ffa4206dddef830423a958fff","user":{"login":"lbelinsk","id":18248989,"avatar_url":"https://avatars1.githubusercontent.com/u/18248989?v=4","gravatar_id":"","url":"https://api.github.com/users/lbelinsk","html_url":"https://github.com/lbelinsk","followers_url":"https://api.github.com/users/lbelinsk/followers","following_url":"https://api.github.com/users/lbelinsk/following{/other_user}","gists_url":"https://api.github.com/users/lbelinsk/gists{/gist_id}","starred_url":"https://api.github.com/users/lbelinsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbelinsk/subscriptions","organizations_url":"https://api.github.com/users/lbelinsk/orgs","repos_url":"https://api.github.com/users/lbelinsk/repos","events_url":"https://api.github.com/users/lbelinsk/events{/privacy}","received_events_url":"https://api.github.com/users/lbelinsk/received_events","type":"User","site_admin":false},"body":"childrenColor is too low level, and talks about implementation.\r\nWhat ablit LabelColor?","created_at":"2017-12-21T11:17:12Z","updated_at":"2017-12-21T11:17:24Z","html_url":"https://github.com/wix/wix-ui/pull/80#discussion_r158252785","pull_request_url":"https://api.github.com/repos/wix/wix-ui/pulls/80","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/comments/158252785"},"html":{"href":"https://github.com/wix/wix-ui/pull/80#discussion_r158252785"},"pull_request":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/wix/wix-ui/pulls/80","id":159179218,"html_url":"https://github.com/wix/wix-ui/pull/80","diff_url":"https://github.com/wix/wix-ui/pull/80.diff","patch_url":"https://github.com/wix/wix-ui/pull/80.patch","issue_url":"https://api.github.com/repos/wix/wix-ui/issues/80","number":80,"state":"open","locked":false,"title":"Toggle switch children","user":{"login":"alandardic","id":7037081,"avatar_url":"https://avatars1.githubusercontent.com/u/7037081?v=4","gravatar_id":"","url":"https://api.github.com/users/alandardic","html_url":"https://github.com/alandardic","followers_url":"https://api.github.com/users/alandardic/followers","following_url":"https://api.github.com/users/alandardic/following{/other_user}","gists_url":"https://api.github.com/users/alandardic/gists{/gist_id}","starred_url":"https://api.github.com/users/alandardic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alandardic/subscriptions","organizations_url":"https://api.github.com/users/alandardic/orgs","repos_url":"https://api.github.com/users/alandardic/repos","events_url":"https://api.github.com/users/alandardic/events{/privacy}","received_events_url":"https://api.github.com/users/alandardic/received_events","type":"User","site_admin":false},"body":"Hi @lbelinsk,\r\n\r\nI have added children property to ToggleSwitch + tests.\r\n\r\nPlease review \r\n\r\nThanks","created_at":"2017-12-19T14:23:56Z","updated_at":"2017-12-21T11:17:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5541298d8b6c881c55d29b3b5a11f7ea43b159a8","assignee":{"login":"lbelinsk","id":18248989,"avatar_url":"https://avatars1.githubusercontent.com/u/18248989?v=4","gravatar_id":"","url":"https://api.github.com/users/lbelinsk","html_url":"https://github.com/lbelinsk","followers_url":"https://api.github.com/users/lbelinsk/followers","following_url":"https://api.github.com/users/lbelinsk/following{/other_user}","gists_url":"https://api.github.com/users/lbelinsk/gists{/gist_id}","starred_url":"https://api.github.com/users/lbelinsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbelinsk/subscriptions","organizations_url":"https://api.github.com/users/lbelinsk/orgs","repos_url":"https://api.github.com/users/lbelinsk/repos","events_url":"https://api.github.com/users/lbelinsk/events{/privacy}","received_events_url":"https://api.github.com/users/lbelinsk/received_events","type":"User","site_admin":false},"assignees":[{"login":"lbelinsk","id":18248989,"avatar_url":"https://avatars1.githubusercontent.com/u/18248989?v=4","gravatar_id":"","url":"https://api.github.com/users/lbelinsk","html_url":"https://github.com/lbelinsk","followers_url":"https://api.github.com/users/lbelinsk/followers","following_url":"https://api.github.com/users/lbelinsk/following{/other_user}","gists_url":"https://api.github.com/users/lbelinsk/gists{/gist_id}","starred_url":"https://api.github.com/users/lbelinsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbelinsk/subscriptions","organizations_url":"https://api.github.com/users/lbelinsk/orgs","repos_url":"https://api.github.com/users/lbelinsk/repos","events_url":"https://api.github.com/users/lbelinsk/events{/privacy}","received_events_url":"https://api.github.com/users/lbelinsk/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/wix/wix-ui/pulls/80/commits","review_comments_url":"https://api.github.com/repos/wix/wix-ui/pulls/80/comments","review_comment_url":"https://api.github.com/repos/wix/wix-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wix/wix-ui/issues/80/comments","statuses_url":"https://api.github.com/repos/wix/wix-ui/statuses/1f86729bc8792c0ffa4206dddef830423a958fff","head":{"label":"wix:toggle-switch-children","ref":"toggle-switch-children","sha":"1f86729bc8792c0ffa4206dddef830423a958fff","user":{"login":"wix","id":686511,"avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"repo":{"id":102359519,"name":"wix-ui","full_name":"wix/wix-ui","owner":{"login":"wix","id":686511,"avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wix/wix-ui","description":null,"fork":false,"url":"https://api.github.com/repos/wix/wix-ui","forks_url":"https://api.github.com/repos/wix/wix-ui/forks","keys_url":"https://api.github.com/repos/wix/wix-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wix/wix-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wix/wix-ui/teams","hooks_url":"https://api.github.com/repos/wix/wix-ui/hooks","issue_events_url":"https://api.github.com/repos/wix/wix-ui/issues/events{/number}","events_url":"https://api.github.com/repos/wix/wix-ui/events","assignees_url":"https://api.github.com/repos/wix/wix-ui/assignees{/user}","branches_url":"https://api.github.com/repos/wix/wix-ui/branches{/branch}","tags_url":"https://api.github.com/repos/wix/wix-ui/tags","blobs_url":"https://api.github.com/repos/wix/wix-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wix/wix-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wix/wix-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/wix/wix-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wix/wix-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/wix/wix-ui/languages","stargazers_url":"https://api.github.com/repos/wix/wix-ui/stargazers","contributors_url":"https://api.github.com/repos/wix/wix-ui/contributors","subscribers_url":"https://api.github.com/repos/wix/wix-ui/subscribers","subscription_url":"https://api.github.com/repos/wix/wix-ui/subscription","commits_url":"https://api.github.com/repos/wix/wix-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/wix/wix-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/wix/wix-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/wix/wix-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/wix/wix-ui/contents/{+path}","compare_url":"https://api.github.com/repos/wix/wix-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wix/wix-ui/merges","archive_url":"https://api.github.com/repos/wix/wix-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wix/wix-ui/downloads","issues_url":"https://api.github.com/repos/wix/wix-ui/issues{/number}","pulls_url":"https://api.github.com/repos/wix/wix-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/wix/wix-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/wix/wix-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wix/wix-ui/labels{/name}","releases_url":"https://api.github.com/repos/wix/wix-ui/releases{/id}","deployments_url":"https://api.github.com/repos/wix/wix-ui/deployments","created_at":"2017-09-04T12:34:56Z","updated_at":"2017-12-18T21:44:40Z","pushed_at":"2017-12-21T10:01:06Z","git_url":"git://github.com/wix/wix-ui.git","ssh_url":"git@github.com:wix/wix-ui.git","clone_url":"https://github.com/wix/wix-ui.git","svn_url":"https://github.com/wix/wix-ui","homepage":null,"size":1268,"stargazers_count":3,"watchers_count":3,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":0,"open_issues":18,"watchers":3,"default_branch":"master"}},"base":{"label":"wix:master","ref":"master","sha":"b1ab288d0f3c02feddac095580783132c9aa3b56","user":{"login":"wix","id":686511,"avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"repo":{"id":102359519,"name":"wix-ui","full_name":"wix/wix-ui","owner":{"login":"wix","id":686511,"avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wix/wix-ui","description":null,"fork":false,"url":"https://api.github.com/repos/wix/wix-ui","forks_url":"https://api.github.com/repos/wix/wix-ui/forks","keys_url":"https://api.github.com/repos/wix/wix-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wix/wix-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wix/wix-ui/teams","hooks_url":"https://api.github.com/repos/wix/wix-ui/hooks","issue_events_url":"https://api.github.com/repos/wix/wix-ui/issues/events{/number}","events_url":"https://api.github.com/repos/wix/wix-ui/events","assignees_url":"https://api.github.com/repos/wix/wix-ui/assignees{/user}","branches_url":"https://api.github.com/repos/wix/wix-ui/branches{/branch}","tags_url":"https://api.github.com/repos/wix/wix-ui/tags","blobs_url":"https://api.github.com/repos/wix/wix-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wix/wix-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wix/wix-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/wix/wix-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wix/wix-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/wix/wix-ui/languages","stargazers_url":"https://api.github.com/repos/wix/wix-ui/stargazers","contributors_url":"https://api.github.com/repos/wix/wix-ui/contributors","subscribers_url":"https://api.github.com/repos/wix/wix-ui/subscribers","subscription_url":"https://api.github.com/repos/wix/wix-ui/subscription","commits_url":"https://api.github.com/repos/wix/wix-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/wix/wix-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/wix/wix-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/wix/wix-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/wix/wix-ui/contents/{+path}","compare_url":"https://api.github.com/repos/wix/wix-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wix/wix-ui/merges","archive_url":"https://api.github.com/repos/wix/wix-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wix/wix-ui/downloads","issues_url":"https://api.github.com/repos/wix/wix-ui/issues{/number}","pulls_url":"https://api.github.com/repos/wix/wix-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/wix/wix-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/wix/wix-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wix/wix-ui/labels{/name}","releases_url":"https://api.github.com/repos/wix/wix-ui/releases{/id}","deployments_url":"https://api.github.com/repos/wix/wix-ui/deployments","created_at":"2017-09-04T12:34:56Z","updated_at":"2017-12-18T21:44:40Z","pushed_at":"2017-12-21T10:01:06Z","git_url":"git://github.com/wix/wix-ui.git","ssh_url":"git@github.com:wix/wix-ui.git","clone_url":"https://github.com/wix/wix-ui.git","svn_url":"https://github.com/wix/wix-ui","homepage":null,"size":1268,"stargazers_count":3,"watchers_count":3,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":0,"open_issues":18,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/80"},"html":{"href":"https://github.com/wix/wix-ui/pull/80"},"issue":{"href":"https://api.github.com/repos/wix/wix-ui/issues/80"},"comments":{"href":"https://api.github.com/repos/wix/wix-ui/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/wix/wix-ui/statuses/1f86729bc8792c0ffa4206dddef830423a958fff"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"lbelinsk"}}