{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/typestyle/typestyle/pulls/41","id":95702367,"html_url":"https://github.com/typestyle/typestyle/pull/41","diff_url":"https://github.com/typestyle/typestyle/pull/41.diff","patch_url":"https://github.com/typestyle/typestyle/pull/41.patch","issue_url":"https://api.github.com/repos/typestyle/typestyle/issues/41","number":41,"state":"open","locked":false,"title":"Nested Property for nested rules/@rule","user":{"login":"notoriousb1t","id":736847,"avatar_url":"https://avatars.githubusercontent.com/u/736847?v=3","gravatar_id":"","url":"https://api.github.com/users/notoriousb1t","html_url":"https://github.com/notoriousb1t","followers_url":"https://api.github.com/users/notoriousb1t/followers","following_url":"https://api.github.com/users/notoriousb1t/following{/other_user}","gists_url":"https://api.github.com/users/notoriousb1t/gists{/gist_id}","starred_url":"https://api.github.com/users/notoriousb1t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notoriousb1t/subscriptions","organizations_url":"https://api.github.com/users/notoriousb1t/orgs","repos_url":"https://api.github.com/users/notoriousb1t/repos","events_url":"https://api.github.com/users/notoriousb1t/events{/privacy}","received_events_url":"https://api.github.com/users/notoriousb1t/received_events","type":"User","site_admin":false},"body":"This PR aims to solve this issue #40 .  If accepted, it should be considered a minor/major change since it breaks nesting selectors next to properties.\r\n\r\nIt adds the following \"nested\" property to allow nesting selectors:\r\n```ts\r\nstyle({\r\n  nested: {\r\n    '@media screen': {\r\n        color: 'red'\r\n     }\r\n  }\r\n})\r\n```\r\n\r\nIt adds shorthands for simple pseudo-selectors so they can still be used without going into a \"nested\" property.\r\n\r\n```ts\r\nstyle({\r\n    color: 'blue',\r\n    '&:active': {\r\n      color: 'red' \r\n    }\r\n});\r\n```\r\n\r\nAnd adds several CSS Properties needed to compile and pass the existing tests\r\n\r\n","created_at":"2016-11-29T14:29:10Z","updated_at":"2016-11-29T14:29:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/typestyle/typestyle/pulls/41/commits","review_comments_url":"https://api.github.com/repos/typestyle/typestyle/pulls/41/comments","review_comment_url":"https://api.github.com/repos/typestyle/typestyle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/typestyle/typestyle/issues/41/comments","statuses_url":"https://api.github.com/repos/typestyle/typestyle/statuses/99b9f1c837d67ce8f37786ce9aa4256683288da1","head":{"label":"typestyle:css-props-experiement","ref":"css-props-experiement","sha":"99b9f1c837d67ce8f37786ce9aa4256683288da1","user":{"login":"typestyle","id":22826994,"avatar_url":"https://avatars.githubusercontent.com/u/22826994?v=3","gravatar_id":"","url":"https://api.github.com/users/typestyle","html_url":"https://github.com/typestyle","followers_url":"https://api.github.com/users/typestyle/followers","following_url":"https://api.github.com/users/typestyle/following{/other_user}","gists_url":"https://api.github.com/users/typestyle/gists{/gist_id}","starred_url":"https://api.github.com/users/typestyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typestyle/subscriptions","organizations_url":"https://api.github.com/users/typestyle/orgs","repos_url":"https://api.github.com/users/typestyle/repos","events_url":"https://api.github.com/users/typestyle/events{/privacy}","received_events_url":"https://api.github.com/users/typestyle/received_events","type":"Organization","site_admin":false},"repo":{"id":70857304,"name":"typestyle","full_name":"typestyle/typestyle","owner":{"login":"typestyle","id":22826994,"avatar_url":"https://avatars.githubusercontent.com/u/22826994?v=3","gravatar_id":"","url":"https://api.github.com/users/typestyle","html_url":"https://github.com/typestyle","followers_url":"https://api.github.com/users/typestyle/followers","following_url":"https://api.github.com/users/typestyle/following{/other_user}","gists_url":"https://api.github.com/users/typestyle/gists{/gist_id}","starred_url":"https://api.github.com/users/typestyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typestyle/subscriptions","organizations_url":"https://api.github.com/users/typestyle/orgs","repos_url":"https://api.github.com/users/typestyle/repos","events_url":"https://api.github.com/users/typestyle/events{/privacy}","received_events_url":"https://api.github.com/users/typestyle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/typestyle/typestyle","description":"Making CSS Typesafe","fork":false,"url":"https://api.github.com/repos/typestyle/typestyle","forks_url":"https://api.github.com/repos/typestyle/typestyle/forks","keys_url":"https://api.github.com/repos/typestyle/typestyle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/typestyle/typestyle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/typestyle/typestyle/teams","hooks_url":"https://api.github.com/repos/typestyle/typestyle/hooks","issue_events_url":"https://api.github.com/repos/typestyle/typestyle/issues/events{/number}","events_url":"https://api.github.com/repos/typestyle/typestyle/events","assignees_url":"https://api.github.com/repos/typestyle/typestyle/assignees{/user}","branches_url":"https://api.github.com/repos/typestyle/typestyle/branches{/branch}","tags_url":"https://api.github.com/repos/typestyle/typestyle/tags","blobs_url":"https://api.github.com/repos/typestyle/typestyle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/typestyle/typestyle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/typestyle/typestyle/git/refs{/sha}","trees_url":"https://api.github.com/repos/typestyle/typestyle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/typestyle/typestyle/statuses/{sha}","languages_url":"https://api.github.com/repos/typestyle/typestyle/languages","stargazers_url":"https://api.github.com/repos/typestyle/typestyle/stargazers","contributors_url":"https://api.github.com/repos/typestyle/typestyle/contributors","subscribers_url":"https://api.github.com/repos/typestyle/typestyle/subscribers","subscription_url":"https://api.github.com/repos/typestyle/typestyle/subscription","commits_url":"https://api.github.com/repos/typestyle/typestyle/commits{/sha}","git_commits_url":"https://api.github.com/repos/typestyle/typestyle/git/commits{/sha}","comments_url":"https://api.github.com/repos/typestyle/typestyle/comments{/number}","issue_comment_url":"https://api.github.com/repos/typestyle/typestyle/issues/comments{/number}","contents_url":"https://api.github.com/repos/typestyle/typestyle/contents/{+path}","compare_url":"https://api.github.com/repos/typestyle/typestyle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/typestyle/typestyle/merges","archive_url":"https://api.github.com/repos/typestyle/typestyle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/typestyle/typestyle/downloads","issues_url":"https://api.github.com/repos/typestyle/typestyle/issues{/number}","pulls_url":"https://api.github.com/repos/typestyle/typestyle/pulls{/number}","milestones_url":"https://api.github.com/repos/typestyle/typestyle/milestones{/number}","notifications_url":"https://api.github.com/repos/typestyle/typestyle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/typestyle/typestyle/labels{/name}","releases_url":"https://api.github.com/repos/typestyle/typestyle/releases{/id}","deployments_url":"https://api.github.com/repos/typestyle/typestyle/deployments","created_at":"2016-10-13T23:50:52Z","updated_at":"2016-11-29T10:56:59Z","pushed_at":"2016-11-29T02:59:12Z","git_url":"git://github.com/typestyle/typestyle.git","ssh_url":"git@github.com:typestyle/typestyle.git","clone_url":"https://github.com/typestyle/typestyle.git","svn_url":"https://github.com/typestyle/typestyle","homepage":"http://typestyle.io","size":259,"stargazers_count":421,"watchers_count":421,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":7,"forks":9,"open_issues":7,"watchers":421,"default_branch":"master"}},"base":{"label":"typestyle:master","ref":"master","sha":"8d45424b6e7f19a6b9996992f76f7499605571ad","user":{"login":"typestyle","id":22826994,"avatar_url":"https://avatars.githubusercontent.com/u/22826994?v=3","gravatar_id":"","url":"https://api.github.com/users/typestyle","html_url":"https://github.com/typestyle","followers_url":"https://api.github.com/users/typestyle/followers","following_url":"https://api.github.com/users/typestyle/following{/other_user}","gists_url":"https://api.github.com/users/typestyle/gists{/gist_id}","starred_url":"https://api.github.com/users/typestyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typestyle/subscriptions","organizations_url":"https://api.github.com/users/typestyle/orgs","repos_url":"https://api.github.com/users/typestyle/repos","events_url":"https://api.github.com/users/typestyle/events{/privacy}","received_events_url":"https://api.github.com/users/typestyle/received_events","type":"Organization","site_admin":false},"repo":{"id":70857304,"name":"typestyle","full_name":"typestyle/typestyle","owner":{"login":"typestyle","id":22826994,"avatar_url":"https://avatars.githubusercontent.com/u/22826994?v=3","gravatar_id":"","url":"https://api.github.com/users/typestyle","html_url":"https://github.com/typestyle","followers_url":"https://api.github.com/users/typestyle/followers","following_url":"https://api.github.com/users/typestyle/following{/other_user}","gists_url":"https://api.github.com/users/typestyle/gists{/gist_id}","starred_url":"https://api.github.com/users/typestyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typestyle/subscriptions","organizations_url":"https://api.github.com/users/typestyle/orgs","repos_url":"https://api.github.com/users/typestyle/repos","events_url":"https://api.github.com/users/typestyle/events{/privacy}","received_events_url":"https://api.github.com/users/typestyle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/typestyle/typestyle","description":"Making CSS Typesafe","fork":false,"url":"https://api.github.com/repos/typestyle/typestyle","forks_url":"https://api.github.com/repos/typestyle/typestyle/forks","keys_url":"https://api.github.com/repos/typestyle/typestyle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/typestyle/typestyle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/typestyle/typestyle/teams","hooks_url":"https://api.github.com/repos/typestyle/typestyle/hooks","issue_events_url":"https://api.github.com/repos/typestyle/typestyle/issues/events{/number}","events_url":"https://api.github.com/repos/typestyle/typestyle/events","assignees_url":"https://api.github.com/repos/typestyle/typestyle/assignees{/user}","branches_url":"https://api.github.com/repos/typestyle/typestyle/branches{/branch}","tags_url":"https://api.github.com/repos/typestyle/typestyle/tags","blobs_url":"https://api.github.com/repos/typestyle/typestyle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/typestyle/typestyle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/typestyle/typestyle/git/refs{/sha}","trees_url":"https://api.github.com/repos/typestyle/typestyle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/typestyle/typestyle/statuses/{sha}","languages_url":"https://api.github.com/repos/typestyle/typestyle/languages","stargazers_url":"https://api.github.com/repos/typestyle/typestyle/stargazers","contributors_url":"https://api.github.com/repos/typestyle/typestyle/contributors","subscribers_url":"https://api.github.com/repos/typestyle/typestyle/subscribers","subscription_url":"https://api.github.com/repos/typestyle/typestyle/subscription","commits_url":"https://api.github.com/repos/typestyle/typestyle/commits{/sha}","git_commits_url":"https://api.github.com/repos/typestyle/typestyle/git/commits{/sha}","comments_url":"https://api.github.com/repos/typestyle/typestyle/comments{/number}","issue_comment_url":"https://api.github.com/repos/typestyle/typestyle/issues/comments{/number}","contents_url":"https://api.github.com/repos/typestyle/typestyle/contents/{+path}","compare_url":"https://api.github.com/repos/typestyle/typestyle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/typestyle/typestyle/merges","archive_url":"https://api.github.com/repos/typestyle/typestyle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/typestyle/typestyle/downloads","issues_url":"https://api.github.com/repos/typestyle/typestyle/issues{/number}","pulls_url":"https://api.github.com/repos/typestyle/typestyle/pulls{/number}","milestones_url":"https://api.github.com/repos/typestyle/typestyle/milestones{/number}","notifications_url":"https://api.github.com/repos/typestyle/typestyle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/typestyle/typestyle/labels{/name}","releases_url":"https://api.github.com/repos/typestyle/typestyle/releases{/id}","deployments_url":"https://api.github.com/repos/typestyle/typestyle/deployments","created_at":"2016-10-13T23:50:52Z","updated_at":"2016-11-29T10:56:59Z","pushed_at":"2016-11-29T02:59:12Z","git_url":"git://github.com/typestyle/typestyle.git","ssh_url":"git@github.com:typestyle/typestyle.git","clone_url":"https://github.com/typestyle/typestyle.git","svn_url":"https://github.com/typestyle/typestyle","homepage":"http://typestyle.io","size":259,"stargazers_count":421,"watchers_count":421,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":7,"forks":9,"open_issues":7,"watchers":421,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/typestyle/typestyle/pulls/41"},"html":{"href":"https://github.com/typestyle/typestyle/pull/41"},"issue":{"href":"https://api.github.com/repos/typestyle/typestyle/issues/41"},"comments":{"href":"https://api.github.com/repos/typestyle/typestyle/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/typestyle/typestyle/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/typestyle/typestyle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/typestyle/typestyle/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/typestyle/typestyle/statuses/99b9f1c837d67ce8f37786ce9aa4256683288da1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":177,"deletions":67,"changed_files":8}}
{"actor":{"display_login":"notoriousb1t"}}